Preparations to invoke automatically Safari iOS
This section describes the steps required to ensure that the navigate built-in action can successfully invoke Safari on iOS.
Ensure that the following requirements are met:
- Safari Web Inspector is enabled on your iOS test device.
- TestArchitect Browser Agent is installed on your iOS test device.
- iTunes 11.1 or later is installed on the machine to be used as the test controller (this may be a Windows or macOS machine).
Carry out the following procedures:
Synchronize essential development libraries with your iOS test device via Xcode:
Connect the iOS device to an macOS computer via USB cable.
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.
On your iOS device, terminate Safari, if running.
Connect the iOS device to a machine via USB cable.
This may be a Windows or macOS machine.
Important:The USB cable connection must always be maintained during automation.
Now you are free to use the navigate action in your test procedures to invoke Safari on iOS.