Launching an AUT

Approaches to launch a re-signed iOS application.

Important:
iOS automation is only supported on Windows or macOS hosts.

There are two methods by which a re-signed iOS application may be launched:

Preparing for automated testing on iOS

In order to ensure that the start program built-in action can successfully launch an application on an iOS device, carry out the following procedure:

  1. Synchronize essential development libraries with your iOS test device via Xcode:

    1. Connect the iOS device to an macOS computer via USB cable.

    2. You’ll be asked to verify that you trust the connected computer. Tap Trust.

      Start Xcode on the macOS machine and wait for at least 10 seconds, so that the iOS device can obtain the essential development libraries.

      Tip:
      Once you see the device listed under the Devices heading in the panel on the left side of the Xcode application, you are assured that the transfer is complete.

  2. Install iTunes on the machine to be used as the test controller (this may be a Windows or macOS machine), ensuring that its version is compatible with the test device’s iOS version.

  3. Ensure that your iOS device is recognized in iTunes:

    1. If not already done, connect the iOS device to the test controller host (Windows or macOS) with a USB cable.

    2. If asked, as before, to verify that you trust the connected computer: tap Trust.

    3. Start iTunes on the test controller machine and ensure that your connected iOS device appears under Devices heading in iTunes.

      Note:
      Once your iOS device is recognized in iTunes, TestArchitect is also able to detect it.

  4. Connect your iOS device to TestArchitect Agent over Wi-Fi so that TestArchitect is able to communicate with iOS applications.

  5. During your first the automated run from a given test controller, execution of the start program action may again trigger a Trust This Computer? message, requiring manual intervention. You can inhibit this from happening by run the TrustActivator script prior to the run. The script is found at the following locations:

    • Windows: TA_INSTALL_DIR\device\iOS\tools\, double-click the TrustActivator.bat file.
    • macOS: Applications/TestArchitect/device/iOS/tools/, execute the TrustActivator.sh shell script via the terminal.
Note:

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