Testing airplane mode is possible in a local PC environment, but in a cloud environment, it is supported only for Android devices.
Airplane mode in a cloud environment
- Android devices
- Airplane mode can be toggled using the settings app on cloud devices.
- iOS devices
- Toggling airplane mode is not supported.
Limitations in a cloud environment
When airplane mode is turned ON in a cloud environment, the following issues may occur:
- The screen freezes
- This happens because enabling airplane mode disconnects the screencast communication. Although the screen stops responding, the test continues to run in the background.
Workaround
- Create the test on a local PC using a physical device.
- Run the created test on a cloud device.
By following these steps, the test may work correctly even in a cloud environment.
Feature requests
Currently, no command is provided to control airplane mode directly. However, a feature request card has been created.
For more details, please refer to the link below: