Playing back mobile tests
You can play back a mobile test on iOS devices to perform the actions that you recorded on the iOS application.
Before you begin
- Created a mobile test or a compound test that contains mobile tests.
- The Appium server must be started and running on the remote computer.
- Installed the application under test on your mobile device or simulator.
- Entered the following information in the Mobile Device tab
if you want to test real devices on the local computer:
- Apple Team ID
- PortNote: This is required only when the port is not the default port.
- iOS Device
Procedure
- Go to the Web UI Test perspective in HCL OneTest™ UI.
-
Open the mobile test or the compound test from the Test
Navigator pane.
The test window is displayed.
-
Click Run Test
.
The Run Configuration dialog box is displayed.
-
Select the mobile device or simulator to play back the test from the
Run using list and click
Next.
Note: If you are using a compound test that has mobile tests, you can specify the mobile device or simulator to play back the test for each mobile test.
-
Click Finish.
The test plays back on the selected mobile device and the result is generated as a unified report in the browser that you configure in Preferences.
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.
- iOS device or simulator on which the test was played back. To view the device or simulator, 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.