Prerequisites for testing the Android applications

You can find information about the prerequisite conditions that you must satisfy before you can test the Android applications.

Before you record and play back mobile tests, you must have completed the following actions:
  • Installed appropriate version of Java.
    Note: JDK 8 is compatible with Android SDK.
  • Installed the Android application that you want to test on the Android device or emulator.
  • Installed Google Chrome browser on the computer where Rational® Functional Tester is installed.
  • Specified the Android SDK path in the Preferences of Rational® Functional Tester and point to the directory where the Android SDK is installed before you start recording mobile tests.
Tip: To run tests on your local computer, you must clear the Appium server host checkbox in the Mobile Device tab. You can access the checkbox from the Preferences > UI Test Playback > Mobile Device tab.
During the recording, you can perform various actions on the configured application in a virtual client of the mobile device. The actions that you perform are captured as test steps in the test recording. You can perform the following actions in the test steps of a mobile test recording:
  • Insert user actions
  • Insert navigation actions
  • Assign variables
  • Insert verification points
  • Substitute data by using custom code or datasets

You can play back a mobile test by specifying the mobile device or emulator on which you want to run the test. You can also play back mobile tests on Android devices and emulators connected to BitBar Cloud, Perfecto Mobile cloud, and remote computers running UI Test Agent.

You can add mobile tests to a Compound Test and include test variables or a variables file to the Compound Test. When you play back the Compound Test containing mobile tests, you can specify the different Android devices or emulators on which you want to run each mobile tests.

The test result is displayed as a unified report for the playing back of a mobile test.