Simulate Tab Keypress
Last updated
Was this helpful?
Last updated
Was this helpful?
The Simulate Tab Keypress action in the Avo Assure is found under the @Custom Element Name. It instructs the Avo Assure Client to perform tab operation from the object and save the result (True/False) in the given output variable.
Note: The "Tab" key moves the cursor one step forward to the next focusable element.
Input: <ObjectType>;<VisibleText(optional)>;<Index>;<abs(optional)>
Note: The user needs to provide the type of object, its visible text of the element (if needed), its element index, and the abs.
Output: <Dynamic Variable>(optional);<Dynamic Variable>(optional)
User is testing an online form on an e-commerce website with fields for name, email, and phone number. After typing the name in the first box, instead of using the mouse to click on the next box, the user uses the “Simulate Tab Keypress” action in Avo Assure to press the Tab key. This makes the cursor automatically jump to the email box, allowing the user to move to the next part of the form quickly without needing the mouse.
button;;0
After the “Simulate Tab Keypress” action is performed, the cursor should move from the name input box to the email input box.
The result of the Simulate Tab Keypress action the cursor moved from the name input box to the email input box and stores in the {result} output variable as “True”, which can be utilized for display or other purposes.