Click on Table Cell
This is a pre-built Action located under the captured grid element. The functionality of this action in Avo Assure is to perform a click operation on the specified grid cell based on the input provided. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <row>;<col>;<header/body>(optional);<left/right>(optional);<row_attr>(optional);<col_attr>(optional)
<row> (Required)
Provide the row number which you want to click from the grid cell.
<col> (Required)
Provide the column number which you want to click from the grid cell.
<header/body>
(Optional)
Provide whether you want to perform the verification in the header or body of the grid.
<left/right>
(Optional)
Provide the direction you want to use for searching within the grid.
<row_attr> (Optional)
Provide any additional row attribute or identifier you want for accurate targeting.
<col_attr> (Optional)
Provide any additional column attribute or identifier you want for accurate targeting.
Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)
<Dynamic Variable>;<Dynamic Variable>(Optional)
Both dynamic variable stores the status as True or False.
Example 1: Clicking a Specific Cell in a Table
In this example, we are explaining how to perform a click action on a specific cell within a captured grid based on row and column information.
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 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 reads the details from the Input Value column (2;3). It identifies the table cell located at row 2 and column 3 within the specified section of the table and performs a click operation on table cell. The outcome of this operation (True) is stored in the {Status} variable.

Example 2: Clicking a Specific Cell in a Grid using All Parameters
In this example, we explain how to perform a click action on a specific cell within a captured table based on the provided row, column, and additional table identifying attributes.
Action: Click on Table Cell
Input Value: 4;3;body;left;Tony Smith;Participant
The first argument (4) specifies the row number.
The second argument (3) specifies the column number.
The third argument (body) indicates that the operation should be executed within the grid body.
The fourth argument (left) defines the search direction for locating the cell.
The fifth argument (Tony Smith) serves as the row identifying attribute.
The sixth argument (Participant) serves as the column identifying attribute.
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 reads the details from the Input Value column (4;3;body;left;Tony Smith;Participant). It uses the row number, column number, grid section, search direction, and the additional row and column attributes to identify the exact cell within the grid and performs a click operation on that cell. The outcome of this operation (True) is stored in the {Status} variable.

Last updated
Was this helpful?