Send Function keys as Inputs
Last updated
Was this helpful?
Last updated
Was this helpful?
The Send Function Keys as Inputs action in the Avo Assure is found under the @Custom Element Name. It instructs the Avo Assure Client to send the keyboard action/operation on the object specified in the input and save the result (True/False) in the given output variable.
Input: <ObjectType>;<VisibleText(optional)>;<Index>;<FunctionKey>;<Number(optional)>;<abs(optional)>
Note: The user must specify the type of object, the visible text of the element (if required), the element index, the function keys (keyboard keys to be pressed), and the absolute value.
Output: <Dynamic Variable>(optional);<Dynamic Variable>(optional)
User is testing the login functionality of a banking application, user needs to verify if pressing the Enter key, after entering the username and password triggers the login button. Using “Send Function Keys as Input” action in Avo Assure it send the keyboard key directly to the login button element to ensure the form is submitted successfully without requiring a mouse click.
button;;0;Enter
The Send Function Keys as Inputs action should press the Enter key from the keyboard, without needing to click it manually, and then store True in the output variable.
The result of the Send Function Keys as Inputs action presses the Enter key from the keyboard and stores in the {result} output variable as “True”, which can be utilized for display or other purposes.