Legacy | Object optimization start
-
Command: objects.optimization
-
Subcommand: start
-
Supported Platforms: Native (legacy), Selenium, Appium
All commands must be executed using the same framework. Sharing the execution ID between different frameworks is not possible. This means that if you work with a Selenium/Appium driver, you need to call the commands using the Selenium/Appium driver (or, in the case of Reporting commands, through the Reporting SDK that works with the driver) and not as part of a UFT test or another framework.
Used in conjunction with the Legacy | Object optimization stop command.
-
Supported OS: iOS
Description
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.
Parameters
| Name | Value | Default | Description |
|---|---|---|---|
| deviceId* | The device for this command. | ||
| children |
0 |
Maximum number of child UI Elements to display/search in UI Object Tree (XCUITest). |
* Mandatory
Request Syntax
Request
https://mycloud.perfectomobile.com/services/executions/john@perfectomobile.com_controller_16-11-06_07_08_05_338?operation=command&securityToken=<your_token>&command=objects.optimization&subcommand=start¶m.deviceId=6370E775