Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Content Zone
locationtop
printablefalse
OptionDescriptionKeyValueExample

Appium Version

The version of the Appium driver you want to use. If not specified the test will run against the default Appium version. appiumVersionstringIt's better to specify the latest Appium version, which is the one suggested by the  Platforms Platform Configurator, unless you have a reason for testing against some other version.

Device Type

The type of device to emulate. Options are:

  • tablet
  • phone

Specifications will match the deviceName as shown in Supported Android Emulators.

deviceTypestring"deviceType": "tablet"

Device Orientation

The orientation in which the simulator/device will be rendered. Options are:

  •   portrait
  • landscape .
deviceOrientationstring"deviceOrientation": "portrait"

Automation Engine

The automation engine that will be used. Options are:

  • Appium 
  • Selendroid

The default is Appium.

automationNamestring"automationName": "Selendroid"

Application Package

Note

For Android Only

The Java package of the Android app you want to run.appPackagestring

"appPackage": "com.example.android.myApp, com.android.settings"

Tip
titleAutomatic Package Detection

Appium automatically determines the package to launch, you only need to use this desired capability if you want to specify a package different than the default one.


Android Activity

Note

For Android Only

The name for the Android activity you want to launch from your package.appActivitystring

"appActivity": ".MainActivity"

Tip
titleDon't Forget the Dot!

This capability needs to be preceded by a . (dot). For example, .MainActivity instead of MainActivity .

Tip
titleAutomatic Activity Detection

 Appium automatically determines the activity to launch, you only need to use this desired capability if you want to specify an activity different than the default one.  

...