Set focus
Last updated
Last updated
This is pre-built Action located under the @Custom Element Name. It instructs the Avo Assure Client to set the focus on the element/object specified in the input.
Input: <ObjectType>;<VisibleText(Optional)>;<index>
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
User is working on a desktop application for a contact management system where users enter and edit contact information (e.g., name, phone number, email) in a form. User need to filling in the "First Name" field, the Action should focus on the "Last Name" input field so the user can immediately start typing the last name without clicking manually.
textbox;Last Name;1
The test Set focus Action needs to set focus on the "Last Name" input field.
The Set focus Action focuses on the Last Name textbox.