Running Web UI tests on BitBar Cloud
You can run Web UI tests on mobile devices that are connected to the BitBar cloud device. After the test run is completed, you can view the test reports in IBM® Rational® Functional Tester.
Before you begin
You must have completed the following tasks:
- Set up your account to access the BitBar cloud. You must have valid credentials such as the URL of the BitBar cloud instance and an API key to authenticate the connection. This key is available under in BitBar cloud.
- Created one or more Web UI tests.
About this task
BitBar is a cloud testing platform which you can connect from Rational® Functional Tester or from a remote agent computer. BitBar supports both iOS and Android applications. You must configure the BitBar Device Cloud Environment before you can run the tests.
Procedure
- Start Rational® Functional Tester
- Select UI Test perspective.
- Go to .
- Select the Mobile Device Cloud tab.
- Select the BitBar host checkbox to enable the BitBar Device Cloud Environment
-
Perform the actions listed in the following table:
Option Action BitBar host Enter the URL of the BitBar cloud instance API key Enter the API key of your BitBar Cloud account to authenticate the connection, and then click the Refresh projects and device groups .
Note: When the connection with the BitBar cloud instance is successful, Clicking the Refresh projects and device groups enables the Project and Device Group fields.
Project Select the BitBar project from the drop-down list. Device group Select the mobile device group that you want to use in the BitBar cloud. Test Run Enter an appropriate name for the test with which you can identify the test run on the BitBar Cloud dashboard. The default value is runTest. - Click Apply and Close.
-
Click the Run Test
icon.
The Run Configuration dialog box is displayed.
- Select the device on the BitBar cloud for the test playback from the Run Using drop-down list.
-
Click Finish.
The test playback is started on the selected device.
Results
You successfully ran the Web UI test on the selected device that is on the BitBar cloud.
After the run, the test results are displayed as a unified report in Rational® Functional Tester.
What to do next
- The details and screen capture that are associated with each test step. To view these details, you can click each test step in the Details pane.
- Android device or iOS device on which the test was played back. To view the device, you can click the icon.
- Test information such as AUT, host computer, and duration of the test. To view such information, you can click the icon.
- All the screen captures in a slide show format. To view the screen captures, you can click the icon.