Home command
Brings the device to its idle/home screen.
For iOS and Android devices, the device is unlocked and returned to its default rotate orientation. For example, iOS devices are returned to portrait mode and iPad devices to landscape mode.
Use this function at the beginning of a script to ensure a known starting point for the user.
Parameters
Name | Type | Possible values | Description |
---|---|---|---|
Device ID* |
String |
The device for this command. By default, this is the device under test (DUT). |
|
Target |
String |
All | Menu | Position |
Specifies the home target, where:
|
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