# Select Value by Text

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 text provided in input for dropdown/list, which is in the table cell and save the result in a dynamic variable.

### Syntax

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

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

**Output Value**

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

**Example**

**Selects a value from a dropdown list within a specified cell of a table, based on the given text.**

The **Select Value by Text** action takes the input from the Input Value column (e.g., **2;3;dropdown;1;Casual Leave**) and performs a selection in the table's dropdown located at the specified row and column, using the provided text. The result of the selection is stored in the **{Result}** variable, with the following possible values:

* **True** – if the value is selected successfully
* **False** – if the value could not be selected or an error occurs

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FbHh4VTEGj1kZDm02LKwS%2Fimage.png?alt=media&#x26;token=cc22e720-360a-4623-bb0c-0f4f6b9bd835" alt=""><figcaption></figcaption></figure>
