Set Focus on Object

This is a pre-built Action that comes for the captured Element, instructs the Avo Assure to set the focus on a specific captured object.

Syntax

Input Value: N/A

Argument
Description

N/A

Not Applicable

Output Value

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable> (Optional)

This dynamic variable holds the status of the action as True or False

Example

Sets focus on a specific UI element to bring it into view or highlight it for interaction.

The Set Focus on Object action takes no input and simply sets focus on the object captured from the application. The result of the action can be stored in the {focusstatus} variable, with the following possible values:

  • True – if focus is set successfully

  • False – if the object could not be focused or an error occurred

Last updated

Was this helpful?