Configure tests for iOS test automation

Before you run the tests on an iOS device or simulator, you need to specify the test configuration parameters (TCPs) for your TestCases in order to establish a connection to the device or the Appium server.

Which test configuration parameters you have to define, depends on the device type and connection type. You can run the tests of:

For detailed information on how to configure tests depending on the type of device and connection, see the topics listed below:

The names and values of test configuration parameters are case-sensitive.

Define parameters for native app test automation

To run the tests of native iOS applications, use the following test configuration parameters according to your type of device and connection.

Type of device and connection

AppiumServer

DeviceName

OSVersion

Cloud-specific TCPs

Local iOS device


Local iOS simulator

Remote iOS device

Remote iOS simulator

Experitest

GigaFox (ex. Mobile Labs)

Perfecto

Sauce Labs

TestObject

Define parameters for web app test automation

To run the tests of mobile web applications on iOS devices or simulators, use the following test configuration parameters according to your type of device and connection.

Type of device and connection

AppiumServer

Browser

DeviceName

OSVersion

Cloud-specific TCPs

Local iOS device

Local iOS simulator

Remote iOS device

Remote iOS simulator

Experitest

GigaFox (ex. Mobile Labs)

Perfecto

Sauce Labs

TestObject

Define parameters for hybrid app test automation

To run the tests on hybrid iOS applications, set up the following TCPs:

  • Native app parameters according to your type of device and connection.

  • The Browser parameter with the value SafariiOS.