# Select Value by Index

This is a pre-built Action located under the Table captured from the AUT Element, instructs the Avo Assure to select the options based on the index value specified in input for dropdown/list and save the result in dynamic variable.

### Syntax

**Input Value:** `<Row>;<Col>;<Object Type>;<index>;<index>`

| Argument                               | Description                                                           |
| -------------------------------------- | --------------------------------------------------------------------- |
| <p>\<Row><br>(Required)</p>            | Row number of the specified cell                                      |
| <p>\<Col><br>(Required)</p>            | Column number of the specified cell                                   |
| <p>\<Object Type></p><p>(Required)</p> | Type of object inside the cell (e.g., Dropdown)                       |
| <p>\<index><br>(Required)</p>          | Element index of the dropdown inside the cell                         |
| <p>\<index><br>(Required)</p>          | Index of the value to be selected from the dropdown (starting from 0) |

**Output Value**

| Argument                                                    | Description                                                                   |
| ----------------------------------------------------------- | ----------------------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | This dynamic variable holds the status of the Action as **True** or **False** |

**Example**

**Performs selection of a dropdown option based on the index in a specific table cell.**

The **Select Value by Index** action takes the value from the Input Value column (e.g., **3;2;dropdown;1;2**) and selects the option at the given index from the dropdown in the specified cell. The status of the action is stored in the **{DropdownStatus}** variable, with the following possible values:

* **True** – if the option is selected successfully
* **False** – if the selection fails or an error occurs

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FeM2tgMDxAGg9WwwQnxtX%2Fimage.png?alt=media&#x26;token=0a259df2-7f15-4b32-b547-d325bdec53ec" alt=""><figcaption></figcaption></figure>
