Send Keystroke Values

This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to send individual keystrokes to the textbox within the specified table cell. The result is stored in the given dynamic variable for further use during test execution.

circle-info

Note: The Action Send Keystroke Value would be used in any context where there is a need to communicate or transmit the value of a keyboard input (a keystroke) from one place to another.

Syntax

Input Value: <Row>;<Col>;<Object Type>;<Index>;<Text>

Argument
Description

<Row> (Required)

Provide the row number of the specified table cell.

<Col> (Required)

Provide the column number of the specified table cell.

<Object Type> (Required)

Provide the type of object within the input value field.

<Index> (Required)

Provide the element index of the object within input value field.

<Text> (Required)

Provide the text value you want to send as individual keystrokes to the specified table cell.

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: Sending Keystrokes to a Textbox in a Table Cell

In this example, we explain how to send individual keystrokes to a textbox located within a specific cell of a captured table.

  • Action: Send Keystroke Value

  • Input Value: 2;2;input;1;10

    • The first argument (2) specifies the row number.

    • The second argument (2) specifies the column number.

    • The third argument (input) specifies the object type of the cell.

    • The fourth argument (1) specifies the index of the object if multiple objects are present.

    • The fifth argument (10) specifies the text that will be sent as individual keystrokes.

  • Output Value: {Status}

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

      • True: If the keystrokes are sent successfully.

      • False: If the keystrokes are not sent successfully.

  • Logical Explanation: The Send Keystroke Value action reads the parameters from the Input Value column (2;2;input;1;10). It identifies the table cell at row 2 and column 2, locates the textbox object within the cell, and sends the provided text (10) as individual keystrokes. The result of this operation (True) is then stored in the {Status} variable.

Last updated