Running mobile tests as an AFT Suite on BitBar Cloud
After you create an AFT Suite for mobile tests, you can run the AFT Suite on devices connected to BitBar Cloud to accelerate the test efforts.
Before you begin
- Created an AFT Suite with mobile tests. See Creating an AFT Suite for mobile tests to run the tests on BitBar cloud.
- Set up your account to access the BitBar Cloud. You must have valid credentials such as the host name or the URL of the BitBar Cloud instance, and an API key to authenticate the connection.
- Uploaded the .ipa or .app file of the iOS application or the .apk file of the Android application that you want to test in the BitBar Cloud. For information, refer to Live Testing in the BitBar documentation.
- Installed the Android and iOS application that you want to test on the device.
- Connected and started the Android or iOS device that you want to use for testing the mobile applications. You can connect the device to the computer through a USB cable.
Procedure
- Open the UI Test perspective in Rational® Functional Tester, if it is not already open.
-
Click
.
The UI Test Playback pane is displayed.
-
Perform the following steps in the UI Test Playback
pane:
-
Select the project that contains the AFT Suite, in the Test
Navigator pane.
The AFT Suite that you created for the mobile tests is in the Accelerated Functional Tests folder.
- Expand the contents of the Accelerated Functional Tests folder to view the AFT XML that is displayed with the name you provided.
-
Right-click the XML file of the AFT Suite, and then click Run
Distributed Tests.
The Run Accelerated Functional Test dialog is displayed.Note: If you are repeating the AFT Suite run because the previous run failed, the Re-run failed tests only from the last playback option is available for selection. When you select this option, the AFT Suite is run on the devices and location on which it previously failed.
- Click OK.
Results
You have run the mobile tests that are in an AFT Suite. The tests run on mobile devices that are connected to the Cloud from the location you configured.
The test result is displayed as a unified report in Rational® Functional Tester.What to do next
You can view the unified report for the mobile tests and choose to export the unified report. See Unified reports.