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.

  • 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.

Used in conjunction with the Object optimization stop command.

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 parameter

Request Syntax

Copy

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&param.deviceId=6370E775