Device shell command
Runs an adb shell command on an Android device, for example to list the content of a folder on a device or to show a list of devices connected to a device.
Parameter
Name | Type | Possible values | Description |
---|---|---|---|
Device ID* |
Device |
|
The device for this command. By default, this is the device under test (DUT). |
Command |
String |
Any adb shell command |
A key-value pair of string to object, where the first part is the command and the second part is the adb shell command. |
Result variable |
String |
The variable to receive the selected cookie value. |
|
Comment |
String |
Adds a comment to the script |
|
On-fail Result* |
Condition |
Ignore | Break | Continue | Abort | Catch |
The behavior when the command fails. |
* Mandatory parameter