Send Function Keys

This is a pre-built Action located under the @Generic Element. The functionality of this action in Avo Assure is to perform the keyboard based actions specified in the input value. The result is stored in the given dynamic variable for further use during test execution. keyboard-based actions

Syntax

Input Value: <function key>;<number>(Optional)

Argument
Description

<function key>

(Required)

Provide the function key you want applied on the element.

<number>

(Optional)

Provide the number of times the function key must be applied. Note: If no number is provided, the action automatically uses 1 as the default value.

Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Argument
Description

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

Both dynamic variable stores the status as True or False.

Example: Simulating a Function Key Press on a Element

In this example, we explain how to simulate pressing a function key on a element within the application.

  • Action: Send Function keys

  • Input Value: F5

    • The argument (F5) specifies the function key to simulate on the captured element.

  • Output Value: {Status}

    • The result of the function key action is stored in the {Status} dynamic variable with the following possible values:

      • True: If the function key is executed successfully.

      • False: If the function key is not executed successfully.

  • Logical Explanation: The Send Function Keys action reads the value from the Input Value column (F5). It identifies the captured UI element and simulates the corresponding function key. The execution result (True) is stored in the {Status} variable.

Last updated

Was this helpful?