Executing Car Rental on iOS
The Car Rental automated test scripts are part of the TestArchitect test suites provided in the sample repository that demonstrate automated testing of the AUT on the iOS platform.
Ensure that the following requirements are met before you execute Car Rental automated tests on the iOS device.
- TestArchitect Agent and the Car Rental application are installed onto the iOS device.
- The iOS device is configured for automated testing.
- In order to ensure that the start program built-in action can successfully launch Car Rental on iOS devices, refer to Launching an AUT.
- In additional, to ensure that the select built-in action can successfully pick specific dates on the DatePicker control on iOS devices, set the date format on the devices to MM/DD/YYYY by selecting the United States region in Settings > General > International > Region Format.
Connect the iOS device to the host machine via USB cable.
With TestArchitect running, double-click the SampleRepository node on the TestArchitect explorer tree.
In the Log In Repository dialog box, type
administrator
in the User Name box, leave the Password box blank, and click OK.Expand the Car Rental - Mobile project and the Tests node on the TestArchitect explorer tree.
Select a provided sample test module subnode (for example, Action Based Testing) within the Car Rental - Mobile Test node that you want to execute.
Click Execute on the toolbar.
The Execute Test dialog box appears.
In the Controllers/Devices frame, click Select Controllers and Devices.
The Select Controller/Device dialog box appears.
In the Controllers/Devices panel, expand the root node, if needed, and select the iOS device where you want to perform the execution tests.
Click OK.
In the Execute Test dialog box, click the Select Version button within the Variation Specification frame.
The Select Version dialog box appears, enabling you to specify the AUT version for the sample automated test.
Select the iOS check box in the Select Version dialog box and click OK.
Restriction:The Car Rental - Mobile automated test modules do not support iOS testing on a Linux platform.In the Execute Test dialog box, click Execute to start the test.
Important:Do not provide any user input while the test is being executed.A status bar indicating the stages of the test is visible in the bottom-right corner of the TestArchitect window. During the initial compilation stage, all information required for execution is collected and made available for automation. Following compilation, TestArchitect invokes the playback tool for the execution stage of the test.
At the end of the test run, TestArchitect displays a summary and detailed results of the run. See Working with test results for details regarding interpreting test results.