Send Function keys as Inputs

This is a pre-built action in Avo Assure and is available for the @Custom Element. The functionality of this action in Avo Assure to send the keyboard action/operation on the object specified in the input and saves the result in the given dynamic variable.

Syntax

Input Value: <ObjectType>;<VisibleText(optional)>;<Index>;<FunctionKey>;<Number(optional)>;<abs (optional)>

Argument
Description

<ObjectType>

(Required)

Provide the object type to which the key will be sent (e.g., button, textbox)

<VisibleText>

(Optional)

Enter the visible text on the object

<Index>

(Required)

Provide the position of the element, which helps to identify the value based on the sequence in list . (starting from 0)​

<FunctionKey>

(Required)

Specify the keyboard key to be pressed (e.g., Enter, Tab, Esc)

<Number>

(Optional)

Optional numeric argument for repeat count or key combinations

<abs>

(Optional)

If the abs is provided, the action is performed with absolute identification using the absolute X path

Output Value

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

This dynamic variable holds the result as True or False

Example 1

Sends a function key input to a specific object on the application

The send FunctionKeys as Inputs action takes the value from the Input Value column (e.g., button;;0;enter;1) and simulates the function key input to the specified object. The result of the key operation is stored in the {Function} variable as True or False

Example 2

Send a function key input to a specific object on the application using optional parameter

The send FunctionKeys as Inputs action takes the value from the Input Value column (e.g., button;;0;enter;1) and simulates the function key input to the specified object. The result of the key operation is stored in the {Function} variable as True or False

Last updated

Was this helpful?