Starting iOS automated tests

Approaches to selecting which iOS device(s) runs automated tests in TestArchitect.

You can specify which iOS device runs a given automated test, or portion of a test, from either your test launch command (online or offline) or from within your test procedures.

Important: 

Test initiation, which is typically performed either from the Execute Test dialog box or via a test execution batch file, specifies which device or devices test execution starts on. Once testing begins, your test procedure can control where execution is to take place, using the built-in action use device. For example, after you’ve selected device A in the Execute Test dialog box and clicked the Execute button, your test is executed on device A. The automated test runs on device A until it encounters the action line use device B in the test procedure. At this time, the automation stops running on device A, and logically connects to device B, making that the target device for the remainder of the automated test. This is basically the same as synchronous serial execution in desktop testing.

Note that synchronous parallel execution is also possible in mobile testing. It involves the same mechanism as used for desktop testing, requiring that the lead/deputy method be used to pass control between controller-device clusters (controllers hosting mobile devices).

Running automated tests on mobile devices using capabilities file
It is important to test mobile web applications on different cloud devices (smartphones, tablets, phablets, etc.) to ensure that it behaves in a consistent and correct manner on all of them. TestArchitect allows an automated test to run on multiple cloud mobile devices concurrently.

Running automated tests on mobile devices using built-in actions
From within your action lines, you can control which cloud device your test is to execute on. The built-in assign cloud device action is used to specify a target cloud device upon which the subsequent action lines are to be run.


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400