# Get Cell Value

This is pre-built Action located under the Table captured from the AUT Element Name, instructs  Avo Assure  to fetch the value present in the specified cell of the grid and save the result in the dynamic variable.

### Syntax

**Input Value:** `<Row>;<Col>;<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 row number or identifier from which to extract the value.</td><td></td></tr><tr><td>&#x3C;Column><br>(Required)</td><td>Specifies the column number or identifier from which to extract the value.</td><td></td></tr><tr><td><p>&#x3C;header/body></p><p>(Optional)</p></td><td>Indicates whether the target cell is 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 in which the system searches for the specified cell.</td><td></td></tr><tr><td>&#x3C;row_attr><br>(Optional)</td><td>Attribute-based filter to identify the correct row<br>Example: class='highlighted-row</td><td></td></tr><tr><td>&#x3C;col_attr><br>(Optional)</td><td>Attribute-based filter to identify the correct column.<br>Example: data-label='Order Amount'</td><td></td></tr></tbody></table>

**Output Value:**

| Argument                                 | Description                                              |
| ---------------------------------------- | -------------------------------------------------------- |
| <p>\<Dynamic Variable><br>(Required)</p> | This variable stores the retrieved cell value            |
| <p>\<Dynamic Variable><br>(Optional)</p> | This variable stores the status as **true** or **false** |

**Example**

**Retrieves the value of a specific table cell**\
\
The **Get Cell Value** action fetch the value present in the specified cell using the input value format (e.g., **3;2;body**). In this case, **2** refers to the row, **4** to the column, and **body** indicates the section of the table to target. Optional parameters allow specifying direction (left/right) or applying row and column attributes. The retrieved cell content is stored in the **{CellValue}** variable, while the execution status is stored in the **{Status}** variable, with the following possible values:

* **True** –  if the value is retrieved successfully.
* **False** –if the action fails or an error occurs.

<figure><img src="/files/9EdLwJJiGW8Ha2zfp7ea" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/shjsMJhwwfArqeyAU7Mz" 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/get-cell-value.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.
