VerifyCellValue
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the Table/Grid captured from the AUT Element Name, instructs the Avo Assure to verify if the input value is present in the specified grid cell or table cell and save the result in dynamic variable.
Input Value: <Row>;<Column>;<value>;<header/body>(optional);<left/right>(optional);<row_attr>(optional);<col_attr>(optional)
<Row> (Required)
Specifies the target row number
<Column> (Required)
Specifies the target column by index
<value> (Required)
Provide expected content in the target cell to validate.
<header/body>
(Optional)
Defines whether the verification should be performed in the header or body of the table.
<left/right>
(Optional)
Defines the direction to search within the row.
<row_attr> (Optional)
Additional row-based attribute or identifier for more specific targeting
<col_attr> (Optional)
Additional column-based attribute or identifier for column selection
Note: If row and column attribute names are specified, then the first two user inputs will be considered to be the attribute values. If they are not specified, they’ll be considered index values.
Output Value:
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable stores the status as true or false
Example 1
Verify the value of a specific cell in a table The VerifyCellValue action checks if the content of a specific cell (e.g., row and column) matches the expected value. The cell is identified using the format (e.g., 2;2;30) where 2 is the row number, 2 is the column number, and 30 is the expected value. The result is stored in the {VerifyCellValue} variable, with the following possible values:
True – if the cell value matches the expected content
False – if the value does not match or an error occurs
Example 2
Verifies the value of a specified cell in a table
The VerifyCellValue action uses the value from the Input Value column (e.g., 2;2;Black;body;right) to locate and verify a cell's content in table/Grid. The cell is identified based on row, column, and optionally, header/body location, text alignment (left/right), and additional row or column attributes. The result of the verification is stored in the {VerifyCellValue} variable, with the following possible values:
True – if the cell value matches the expected content
False – if the value does not match or an error occurs