Recording mobile tests for Android applications
You can record a mobile test to capture the actions that you perform on Android applications. The actions are captured as test steps.
You must have completed the following tasks:
- Installed the Android SDK on the computer that you want to use for testing Android mobile applications.
- Set or changed the value of the ANDROID_HOME environment variable on any of the following operating systems:
- Connected the devices through a USB cable and configured the emulators or simulators on the computer that runs IBM DevOps Test UI (Test UI).
Generally, when you record actions on the Android application, a control on the application is
identified by using one of the control properties which is a unique identifier for that
control. The following controls on the application can be identified by using the
Label property also:
- Input field
- Drop-down list
For example, if there are 3 input fields on the application screen, then these input fields are
identified by using the Label property which is unique to these input
fields.
Restriction: In some Android devices, the double
tap action that you perform on the lower part of the screen is not captured while you
record the test.
You have recorded a test for an Android mobile application.
You can perform any of the following tasks:
-
You can click Open Test in the Test Generation dialog to view the recorded test and edit the test, if you want to change or add the test steps or verification points. See Editing a mobile test.
-
You can run the recorded test. See Running mobile tests for Android mobile applications.