Click on Table Cell

This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to click on a specific cell within a web table during debugging or execution. The result is stored in the given dynamic variable for further use during test execution.

Syntax

Input Value: <Row>;<Column>;<ObjectType>;<Index>

Argument
Description

<Row> (Required)

Provide the row number of the table cell you want to click.

<Column> (Required)

Provide the column number of the table cell you want to click.

<ObjectType> (Required)

Provide the object type of cell value which you want to click. Object type values must be one of the following: textbox, button, link, img, checkbox, radiobutton, div, span, etc.

<Index> (Required)

Provide the index of the object type inside the cell.

Note: Index is starting from 1.

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

Argument
Description

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

Both dynamic variable stores the status as True or False.

Example 1: Clicking on a Specific Table Cell using Row and Column Number

In this example, we explain how the system performs a click action on a designated cell within a table.

  • Action: Click on Table Cell

  • Input Value: 2;3

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

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

  • Output Value: {Status}

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

      • True: If the cell is clicked successfully.

      • False: If the cell is not clicked successfully.

  • Logical Explanation: The Click on Table Cell action takes the values from the Input Value column (2;3). It identifies the table cell located at row 2 and column 3, performs a click on that table cell. The final result of the operation (True) is stored in the {Status} variable.

Example 2: Performing a Click Action on a Specific Table Cell

In this example, we explain how to perform a click on a particular cell within a table.

  • Action: Click on table Cell

  • Input Value: 2;3;textbox;1

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

    • The second argument (3) specifies the column number of the target cell.

    • The third argument (textbox) specifies the object type present inside the cell.

    • The fourth argument (1) specifies the index of the object on the screen.

  • Output Value: {Status}

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

      • True: If the cell is clicked successfully.

      • False: If the cell is not clicked successfully.

  • Logical Explanation: The Click on table Cell action fetches the input values from the Input Value column (2;3;textbox;1). It identifies the table cell located at row 2 and column 3, verifies the specified object type (textbox), and uses the given index (1) to locate the correct element within the specified cell. The action then performs a click on the identified cell object. The final result of the operation (True) is stored in the {Status} variable.

Last updated