# Set Cell Value IRIS

This is a pre-built action available under the **Captured Table Element** from the **Desktop Application** using the **IRIS method**. The functionality of this action in Avo Assure is to set or update the value of a specified cell in the captured table cell.

{% hint style="warning" %}
***Note:** For better execution results, capture a constant element using **Ctrl** and **left mouse click**, and select the required area.*
{% endhint %}

### Syntax&#x20;

**Input Value:** `<Row>;<Col>;<Text>;<option>(Optional)>`

| Argument            | Description                                                                                                                                                                                                                                                                     |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| \<Row>(Required)    | Enter the row number of the cell where the value is to be set                                                                                                                                                                                                                   |
| \<Col>(Required)    | Enter the column number of the cell where the value is to be set                                                                                                                                                                                                                |
| \<Text>(Required)   | Provide the text or value to set in the cell                                                                                                                                                                                                                                    |
| \<option>(Optional) | <p>Provide the value as <strong>1.</strong></p><p></p><p><em><strong>Note:</strong> This is used when the table has cells of equal height. This helps IRIS read the table properly when it cannot detect the cell height clearly due to pixelation or unclear display.</em></p> |

**Output Value**

| Argument                                                    | Description                                                                                                          |
| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | This dynamic variable holds the status as **True** (if the value was set successfully), or **False** (if step fails) |

**Example 1**

**Sets the value "SANFRANSISCO" text in the cell at row 2, column 3, specifically in a textbox inside that cell.**

The **Set Cell Value IRIS** action takes the row, column, text from the Input Value column and sets the value accordingly.

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

**Example 2**

**Sets a value "SANFRANSISCO" text in a specific cell within a table element.**

The **Set Cell Value IRIS** action takes the value from the Input Value column **(e.g., 2;3;SANFRANSISCO;1)**, where **2** is the **row,** **3** is the **column**, **SANFRANSISCO** is the text to be set, and **1** is an optional parameter that defines cell has equal height.

<figure><img src="/files/pR7RYAQXtGvgfxSyUBTz" 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/desktop/iris/table/set-cell-value-iris-1.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.
