Site icon Tutorial

Instruction for SafariLauncher Setup

Go back to tutorial

Instruction for SafariLauncher Setup

We will now briefly discuss about the instructions for SafariLauncher Setup. Now, the process of running mobile web tests on iOS real devices with iOS 9.3 or below, using Instruments. Moreover, it  requires the introduction of a third-party app, SafariLauncher. Because, with the instruments there is no way to start the Safari app on the device.

Also, in some configurations, Appium is able to automatically build, sign, and install SafariLauncher as it needs. However, this is not the case, as it is more often so with later versions of Xcode, the configuration needs to be done before Safari tests on real devices can be successfully run.

Automatic SafariLauncher configuration

For automatic SafariLauncher configuration it is required to create a provisioning profile that can be used to deploy the SafariLauncher App. Moreover, this requires, a wildcard certificate, which is not possible if your Apple developer account is a free one. If that is the case, refer to the manual configuration –

To create a profile for the launcher go into the Apple Developers Member Center

Thereafter, include your UDID and device name in your desired capabilities in the following manner –

{

udid: ‘…’,

deviceName: ‘…’,

platformName: ‘iOS’,

platformVersion: ‘9.3’,

browserName: ‘Safari’

}

 

Enrich your profile and become Job Ready. Practice and Prepare for Mobile Testing (Appium) Exam Now!

Get expert advice and hundreds of Free Test – Try Mobile Testing (Appium) Practice Questions Now!

Go back to tutorial

Exit mobile version