Lock screen command
Locks the device screen for a specified number of seconds. Check instantly how your app behaves when the screen is locked.
Parameters
Name | Type | Possible values | Description |
---|---|---|---|
Device ID* |
Device |
|
The device for this command. By default, this is the device under test (DUT). |
Timeout |
Number |
|
The time, in seconds, to lock the device. |
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