Important
-
There is no need to jailbreak iOS devices to use them for automated testing with TestComplete and TestExecute.
-
Connect your device to the TestExecute 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:
-
Connect a device to a Mac computer.
-
Run XCode and open Window > Organizer.
-
Select the device from the Devices list and wait until XCode downloads required data to the device.
-
Configure the Device (Recommended)
-
Disable auto-locking. When the device is locked, TestExecute is unable to connect to the tested iOS application.
-
On your device, go to the Settings > 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 Settings > Privacy > Location Services screen.
-
Set the switch to On.
-
Other Preparatory Actions
To learn how to make iOS applications testable and configure TestExecute for iOS test automation, see:
See Also
Preparing for Running Tests on iOS Devices
Preparing Test Computers for iOS Testing
Preparing iOS Applications