# Select Based on Absolute Value

This is a pre-built Action located under the captured table element. The functionality of this Action in Avo Assure is to select a value from the dropdown based on the exact text provided in the input value. The dropdown is located within a table cell of the AUT. The result is stored in the given dynamic variable for further use during test execution.

## Syntax

**Input Value**: `<row_num>;<col_num>;<dropdown>;<elementIndex>;<Exact text has to given>`

| Argument                                         | Description                                                              |
| ------------------------------------------------ | ------------------------------------------------------------------------ |
| <p>\<row\_num> <br>(Required)</p>                | Provide the row number of the table cell you want to click.              |
| <p>\<col\_num> <br>(Required)</p>                | Provide the column number of the table cell you want to click.           |
| <p>\<dropdown><br> (Required)</p>                | Provide the type of object inside the cell. Use object type as dropdown. |
| <p>\<elementIndex> <br>(Required)</p>            | Provide the index of the dropdown object inside the cell.                |
| <p>\<Exact text has to given><br> (Required)</p> | Provide the exact visible text you want to select from the dropdown.     |

**Output Value**: `<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)`

<table><thead><tr><th width="329.2000732421875">Argument</th><th>Description</th></tr></thead><tbody><tr><td>&#x3C;Dynamic Variable>(Optional);&#x3C;Dynamic Variable>(Optional)</td><td>Both dynamic variable stores the status as <strong>True</strong> or <strong>False</strong>.</td></tr></tbody></table>

### **Example: Selecting a Value from a Dropdown within a Table Cell**

In this example, we explain how to select a specific value from a dropdown list present inside a table cell.

* **Action**: Select Based on Absolute Value
* **Input Value**: 1;2;dropdown;1;High
  * The first argument (**1**) specifies the row number.
  * The second argument (**2**) specifies the column number.
  * The third argument (**dropdown**) specifies the object type to be interacted with.
  * The fourth argument (**1**) specifies the index of the object if multiple elements exist.
  * The fifth argument (**High**) specifies the value to be selected from the dropdown list.
* **Output Value**: {Status}
  * The result of the selection operation is stored in the **{Status}** dynamic variable, with the following possible values:
    * **True**: If the value is successfully selected from the dropdown.
    * **False**: If the value is not successfully selected from the dropdown.
* **Logical Explanation**: The **Select Based on Absolute Value** action reads the details from the **Input Value** column (**1;2;dropdown;1;High**). It locates the table cell at row 1 and column 2, identifies the dropdown element within that cell, and selects the specified value (**High**). The result of this operation (**True**) is saved in the **{Status}** variable.

<figure><img src="/files/AeDw1NqLWquzrFUtEZzS" 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/table-1/select-based-on-absolute-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.
