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.
Note: Once the user debugs this action, the element border will be highlighted in the AUT, making it easy to visually locate and focus on that specific element.
Syntax
Input Value: N/A
N/A
Not Applicable
Output Value
<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?