# Right Click Cell IRIS

This is a pre-built action in Avo Assure which comes under the **Captured Table Element** from the **Desktop Application** using the **IRIS method**. The functionality of this action in Avo Assure is to perform a right-click operation on a specified cell of a table. Optionally, it can select a menu option from the right-click context menu.

{% 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**

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

| Argument            | Description                                                                                                                                                                                                                                                                     |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| \<Row>(Required)    | Enter the row number of the cell to right-click                                                                                                                                                                                                                                 |
| \<Col>(Required)    | Provide the column number of the cell to right-click                                                                                                                                                                                                                            |
| \<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 right-click (and optional menu selection) was successful), or **False** (if right-click fails) |

**Example 1**

**Performs a right-click on the cell at row 1, column 3 in the table.**

The **Right Click Cell IRIS** action takes the row and column number from the Input Value column and performs the right-click on the **1st row** and **3rd column** cell.&#x20;

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FDP8ZAuSMSFPD6qcVoGmE%2Fimage.png?alt=media&#x26;token=d41ea2d9-6347-424c-b04c-8022a1f6f87c" alt=""><figcaption></figcaption></figure>

**Example**

**Performs a right-click on a specific cell within a table element in the Desktop application**

The **Right Click Cell IRIS** action takes the value from the Input Value column in the format **(e.g., 1;3;1)**. It performs a click on the specified cell using the IRIS method.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FMNFvHk7MLKYjudpfiNfp%2Fimage.png?alt=media&#x26;token=145a8e86-2679-4e2a-afb4-283f23143f11" alt=""><figcaption></figcaption></figure>
