# VerifyCellValue

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.

### Syntax

**Input Value:** `<Row>;<Column>;<value>;<header/body>(optional);<left/right>(optional);<row_attr>(optional);<col_attr>(optional)`

<table><thead><tr><th>Argument</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>&#x3C;Row><br>(Required)</td><td>Specifies the target row number </td><td></td></tr><tr><td>&#x3C;Column><br>(Required)</td><td>Specifies the target column by index </td><td></td></tr><tr><td>&#x3C;value><br>(Required)</td><td>Provide expected content in the target cell to validate.</td><td></td></tr><tr><td><p>&#x3C;header/body></p><p>(Optional)</p></td><td>Defines whether the verification should be performed in the header or body of the table.</td><td></td></tr><tr><td><p>&#x3C;left/right></p><p>(Optional)</p></td><td>Defines the direction to search within the row.</td><td></td></tr><tr><td>&#x3C;row_attr><br>(Optional)</td><td>Additional row-based attribute or identifier for more specific targeting</td><td></td></tr><tr><td>&#x3C;col_attr><br>(Optional)</td><td>Additional column-based attribute or identifier for column selection</td><td></td></tr></tbody></table>

{% hint style="warning" %}
***Note:***

* If row and column attribute names are specified in the input value (as the last two optional parameters) when using the **VerifyCellValue action**, Avo Assure will use them to identify the row and column attributes from a Table or Grid that match the input values provided.&#x20;
* However, if row and column attributes are not specified, Avo Assure will treat the first two input values appearing sequentially as the row attribute and column attribute names, by default.
  {% endhint %}

**Output Value:**

| Argument                                                    | Description                                              |
| ----------------------------------------------------------- | -------------------------------------------------------- |
| \<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

<figure><img src="/files/Gxs7hSBfXwHsW9BfWnjv" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4cX4rxCAmhBKt3wnkVY7" alt=""><figcaption></figcaption></figure>

**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;5;Black;body;right**) to locate and verify a cell’s content within a table or grid. The cell is identified based on the specified row, column, and value, along with optional parameters such as header/body location, text position (left/right). The result of this verification is stored in the **{VerifyCellValue}** dynamic variable, which holds the outcome of the comparison.

* **True** – if the cell value matches the expected content
* **False** – if the value does not match

<figure><img src="/files/tPdJj7EeIwxAzvUoMwUi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/My6oq4cMUpaYTyiQaJJv" alt=""><figcaption></figcaption></figure>

**Example 3**

**Performs verification of a cell's value within a table or grid based on provided row and column index or attribute information**

The **VerifyCellValue** action uses the value from the Input Value column (e.g., **2;2;30;body;left;Don A Taylor;AGE**) to locate and verify a cell's content in a table or grid. The cell is identified based on the specified row, column, and value, along with optional parameters such as header/body location, text position (left/right), and additional row or column attributes. The result of the verification is stored in the **{Verify}** variable with one of the following possible values:

* **True** – if the cell value matches the expected content
* **False** – if the value does not match

<figure><img src="/files/32sEPbhHBAfpr1KaRbu3" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/myOQZqguVotmJJSmJheU" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/actions/web/grid/verifycellvalue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
