Preparing iOS Devices

Applies to TestComplete 12.60, last modified on September 17, 2018

General Idea

  • There is no need to jailbreak iOS devices to use them for automated testing with TestComplete.

  • You need to connect your device to the TestComplete computer via a USB cable.

    You can connect and use as many devices as your USB hub supports.

Requirements

  • You must turn on a device at least once and sign in to an Apple ID.

-- OR --

  • You must download symbols and indexes by using XCode. To do this:

    1. Connect a device to a Mac computer.

    2. Run XCode and open Window | Organizer.

    3. Select the device from the Devices list and wait until XCode downloads required data to the device.

Changing Device Settings (Recommended)

  • Disable auto-locking. When the device is locked, TestComplete is unable to connect to the tested iOS application.

    • On your device, go to the Setting | General | Auto-Lock screen.

    • Choose Never.

  • Set the screen brightness on your device to the minimum value. Otherwise, the device (for example, an iPad) may discharge faster than it is charged via USB.

    • On your device, go to the Settings | Wallpapers & Brightness screen.

    • Move the brightness slider to the minimum value.

  • To use geolocation in automated tests, enable Location Services on the device:

    • On your device, go to the Setting | Privacy | Location Services screen.

    • Set the switch to On.

Other Preparatory Actions

To learn how to make iOS applications testable and configure TestComplete for iOS test automation, see:

See Also

Preparing Applications, Devices, and Test Computers for iOS Testing
Preparing Test Computers and TestComplete for iOS Testing
Preparing iOS Applications
Testing iOS Applications - Overview

Highlight search results