Capturing screenshots of a mobile device
Device Live Screen is a useful tool for capturing images off of Android and iOS devices, allowing you to take full advantage of TestArchitect’s picture handling functionality in automated tests.
- Android: This feature, when applied to a connected Android device, requires that the TestArchitect Agent service be running. Note also that, if and when an Android device is restarted, TestArchitect Agent is then stopped. Should this be the case, it is essential that you reactivate the service by observing the following steps:
- Connect the Android device to the test controller through a USB cable (not Wi-Fi), if not already so connected.
- Open the Android Instrumentation Tool dialog box.
- Click the Refresh devices list button.
Launch Device Live Screen. (Learn more.)
The Device Live Screen window displays the current screen of the selected mobile device in fit-to-window mode (the default) on your test machine.
Start the Picture Capturing Tool to capture the live screen of the selected mobile device on your test machine.
The captured screenshots can be used as baseline images for picture handling during automated tests.