Object optimization start command

Builds an Object search tree that is limited to the objects visible on the screen. This speeds up the object search functionality for large iOS View objects.

Used in conjunction with the Object optimization stop command command.

Parameters

Name Type Possible values Description

Device ID*

Device

 

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

Max child elements per node

Number

 

Maximum number of child UI elements to display/search in the UI Object Tree (XCUITest).

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