The information below concerns legacy mobile tests that work with mobile devices connected to the local computer. For new mobile tests, we recommend using the newer cloud-compatible approach. |
This topic lists common tasks you may need to accomplish when creating and running tests for mobile applications.
Common Tasks Specific to the Android and iOS Platforms
Geolocation Testing and Sensors (Legacy)
Describes how to work with data of GPS and other sensors in your tests.
Verifying the Mobile Platform (OS Type) (Legacy)
Describes how to determine whether the current mobile device is an Android or an iOS device.
Checking the Android and iOS Version (Legacy)
Explains how to retrieve the version of operating system installed on a mobile device.
Getting Device's Screen Resolution (Legacy)
Describes how to determine the screen resolution of a mobile device.
Checking Device Screen Orientation (Legacy)
Describes how to determine whether the device is in portrait or landscape mode.
Simulating Screen Rotation (Legacy)
Describes how to simulate screen rotation in your tests.
Capturing Screenshots of a Mobile Device's Screen (Legacy)
Explains how to capture a screenshot of a mobile device's screen.
Running Tests on Multiple Devices (Legacy)
Describes how to execute the same test on multiple mobile devices.
Adapting Tests to Mobile Devices of Different Types (Legacy)
Describes several approaches to adapting mobile tests to mobile devices of different types.
Common Tasks Specific to the Android Platform
Working With Files on an Android Device (Legacy)
Explains how to access files and folders on an Android device.
Checking the Battery Level on Android Devices (Legacy)
Explains how to retrieve the battery charge level.
Working With Android Device Settings During Test Run (Legacy)
Explains how to change device settings during a test.