Device state command

Changes the mechanical position of a device that supports a flip cover or slide keyboard. The operation parameter indicates what action to take.

Parameter

Name Type Possible values Description

Device ID*

Device

 

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

State operation

String

Reset | Next

The state operation to perform on the device, where:

  • Reset returns the device to its default state

  • Next adjusts the device to its next state

Device state

String

Opened | Closed | Secondary

The device state, where:

  • Opened opens the device flip, slider, or swivel

  • Closed closes the device flip, slider, or swivel

  • Secondary opens the device secondary slider state (if applicable)

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