Send Keystrokes
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Browser Element Name. It instructs the Avo Assure Client to send the specified keystroke(s) within the browser.
Input: <FunctionKey>;<Number(optional)>
FunctionKey: Function Key’s name on the keyboard.
Number: The second input specifies the number of times the specified keystrokes must be performed
Note: Multiple keys as input are not supported. For example: “ctrl+A” is not supported.
Use the setFocus keyword before this if the intention is to work on a specific object within the browser.
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
When automated web testing, it is often necessary to simulate user keyboard input, such as typing text into form fields, submitting forms, or interacting with specific input elements like search bars or text areas. The Send Keystrokes Action allows you to send a series of keystrokes (keyboard input) to a specific element in the web application, mimicking a user typing on the keyboard.
Enter
The Send Keystrokes Action should perform action for pressing Enter key.
Once the Send Keystrokes Action executed, “Enter” key press is performed on the focused object within the browser.