Configure tests for Android test automation

Before you run tests on an Android device or emulator, 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 the 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 Android 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 Android device/emulator


Remote Android device/emulator

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 Android devices or emulators, 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 Android device/emulator


Remote Android device/emulator

Experitest

GigaFox (ex. Mobile Labs)

Perfecto

Sauce Labs

TestObject

Define parameters for hybrid app test automation

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

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

  • The Browser parameter with the value ChromeAndroid.