verifyCellValue
This is a pre-built Action located under the captured grid element. The functionality of this action in Avo Assure is to verify whether the value provided in the input value field is present in the specified grid element. The result is stored in the given dynamic variable for further use during test execution.
Syntax
Input Value: <Row>;<Column>;<value>;<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.
<Column> (Required)
Provide the column number which you want to click from the grid cell.
<value> (Required)
Provide the value that you want to validate against the target cell value of the grid.
<header/body>
(Optional)
Provide whether the verification occurs 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 for refined column selection.
Output Value: <Dynamic Variable>;<Dynamic Variable>(Optional)
<Dynamic Variable>;<Dynamic Variable>(Optional)
Both dynamic variable stores the status as True or False.
Example 1: Verifying the Value of a Specific Cell in a Grid
In this example, we explain how to verify whether the value present in a specific grid cell matches the expected content.
Action: verifyCellValue
Input Value: 2;2;30
The first argument (2) specifies the row number.
The second argument (2) specifies the column number.
The third argument (30) specifies the expected value to be verified in the cell.
Output Value: {Status}
The verification result is stored in the {Status} dynamic variable, with the following possible values:
True: If the cell value matches the expected content.
False: If the cell value does not match the expected content.
Logical Explanation: The verifyCellValue action reads the details from the Input Value column (2;2;30). It identifies the grid cell located at row 2 and column 2, retrieves its content, and compares it with the expected value 30. The result of this verification (True) is stored in the {Status} variable.

Example 2: Verifying the Value of a Specified Cell in a Grid
In this example, we explain how to verify whether the content inside a specific grid cell matches the expected value.
Action: verifyCellValue
Input Value: 2;5;Black;body;right
The first argument (2) specifies the row number.
The second argument (5) specifies the column number.
The third argument (Black) specifies the expected value to be verified.
The fourth argument (body) specifies the section of the grid to search in.
The fifth argument (right) specifies the direction to consider while locating the cell content.
Output Value: {Status}
The verification result is stored in the {Status} dynamic variable, with the following possible values:
True: If the cell value matches the expected content.
False: If the cell value does not match the expected content.
Logical Explanation: The verifyCellValue action reads the details from the Input Value column (2;5;Black;body;right). It identifies the grid cell located at row 2 and column 5 within the specified section body and applies the defined direction right when retrieving the content. It then compares the fetched value with the expected value Black. The result of this comparison (True) is stored in the {Status} variable.

Last updated
Was this helpful?