appActivity |
The Android Activity name you want to launch from your app package. It usually needs to be added in front . (e.g., use .MainActivity instead of MainActivity ) |
MainActivity ,.Settings |
appPackage |
The package name of the Android app you want to run |
For example com.example.android.myApp ,com.android.settings |
appWaitActivity |
You want to wait for the Android Activity name to start |
SplashActivity |
deviceReadyTimeout |
Set a timeout to wait for an emulator or a real machine to be ready |
5 |
androidCoverage |
The instrumentation class used to perform the test. As a adb shell am instrument -e coverage true -w parameter to the command -w . |
com.my.Pkg/com.my.Pkg.instrumentation.MyInstrumentation |
enablePerformanceLogging |
(Chrome and WebView only) turn on Chromedriver Performance Logs. (Default false ) |
true ,false |
androidDeviceReadyTimeout |
Wait for the device to be ready when the app is started. The unit is in seconds. |
Such as30 |
androidDeviceSocket |
The socket name of the development tool. Required only if the application being tested is a browser that uses the Chromium kernel. The socket is opened by the browser and chromedriver it as a developer tool to connect. |
Such aschrome_devtools_remote |
avd |
The name of the AVD (Android virtual appliance) that needs to be started. |
Such asapi19 |
avdLaunchTimeout |
The time-out in milliseconds to wait for the AVD to start and connect to the ADB. (Default value 120000 ) |
300000 |
avdReadyTimeout |
The time-out in milliseconds to wait for the AVD to finish starting the animation. (Default value 120000 ) |
300000 |
avdArgs |
Additional parameters that need to be added when starting the AVD. |
Such as-netfast |
useKeystore |
Use a custom KeyStore to re-sign the APK. Default valuefalse |
true Orfalse |
keystorePath |
The path to the custom KeyStore. Default: ~/.android/debug.keystore |
Such as/path/to.keystore |
keystorePassword |
Customize the password for the KeyStore. |
Such asfoo |
keyAlias |
Alias for Key |
Such asandroiddebugkey |
keyPassword |
Key's password |
Such asfoo |
chromedriverExecutable |
Webdriver the absolute path to the executable file (if the Chromium core provides the corresponding webdriver, it should be used instead of Appium's own webdriver) |
/abs/path/to/webdriver |
autoWebviewTimeout |
The time, in milliseconds, to wait for the Webview context to be activated. Default value2000 |
Such as4 |
intentAction |
The intent action used to start the activity. (Default value android.intent.action.MAIN ) |
such as android.intent.action.MAIN ,android.intent.action.VIEW |
intentCategory |
The intent category used to initiate activity. (Default value android.intent.category.LAUNCHER ) |
such as android.intent.category.LAUNCHER ,android.intent.category.APP_CONTACTS |
intentFlags |
Flags (default) for initiating activity 0x10200000 |
Such as0x10200000 |
optionalIntentArguments |
The additional intent parameter used to initiate activity. Please see the Intent parameter |
such as --esn <EXTRA_KEY> ,--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> |
stopAppOnReset |
Stop the process of the app being tested before using ADB to start the app. If the application being tested is created by another application, when this parameter is set to False, the process that allows another app to continue to survive when using ADB to initiate the application under test. Default valuetrue |
true Orfalse |
unicodeKeyboard |
Use the Unicode input method. Default valuefalse |
true Orfalse |
resetKeyboard |
After the Unicode test for the keyword has been set, reset the unicodeKeyboard input method to its original state. If used alone, it will be ignored. Default valuefalse |
true Orfalse |
noSign |
Skip the steps to check and debug your app. Can only be used when using Uiautomator, using selendroid is not possible. Default valuefalse |
true Orfalse |
ignoreUnimportantViews |
Call the Uiautomator function setCompressedLayoutHierarchy() . Because the accessibility command performs faster when some elements are ignored, this keyword can speed up the test execution. Ignored elements will not be found, so this keyword is also implemented as a * setting (settings) * that can be changed at any time. Default valuefalse |
true Orfalse
|