Device info command

Retrieves the specified device property and inserts its value into a defined variable. Use the Property parameter to specify the device property to retrieve.

The properties current activity and current package are only supported for Android.

Parameters

Name Type Possible values Description

Device ID*

Device

 

The device for this command. By default, this is the device under test (DUT).

Property*

String

Manufacturer | Model | Phone number | Device ID | Resolution |
Resolution width | Resolution height | OS | OS version (Major) | Firmware | Location | Network | Distributer | Language | Imsi | Native Imei | Wi-Fi MAC address | Cradle ID | Status | In use | Description | Position | Method | Rotation | Locked | Current activity | Current package | Operability score | Has audio | Automation infrastructure

Device property to retrieve. Only one property is retrieved in a single call.

Result variable

String

 

The identifier of the application.

Comment

String

 

Adds a comment to the script

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the command fails.

* Mandatory