# Select Combo Value by Text

This is a pre-built Action used when a dropdown is captured as an element. The functionality of this action in Avo Assure is to select a value from the dropdown based on the input text provided. The result is stored in the given dynamic variable for further use during test execution.

## **Syntax**

**Input Value**: `<input value>`&#x20;

{% hint style="info" %}
**Supported Input Formats**:

* **Text**: Plain string input.
* **Static Value**: A fixed value that you manually provide.
* **Dynamic Variable**: Value retrieved from a previously stored output variable.
  {% endhint %}

| Argument                            | Description                                                      |
| ----------------------------------- | ---------------------------------------------------------------- |
| <p>\<input value><br>(Required)</p> | Provide the text value to be selected from the dropdown or list. |

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

| Argument                                                    | Description                                                       |
| ----------------------------------------------------------- | ----------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | Both dynamic variables store the status as **True** or **False**. |

### **Example: Selecting an Item from a Combo box (dropdown) Using Visible Text**

In this example, we explain how to select an option from a combo box (dropdown) using the visible text.

* **Action**: Select Combo Value by Text
* **Input Value**: Blueberry
  * The first argument (**Blueberry**) specifies the name of the combo box or dropdown element.
* **Output Value**: {Status}
  * The execution result is stored in the **{Status}** dynamic variable with the following possible values:
    * **True**: If the specified text is successfully selected from the combo box.
    * **False**: If the combo box is not found or the specified text does not exist in the list.
* **Logical Explanation**: The **Select Combo Value by Text** action takes the value from the **Input Value** column (**Blueberry**). This action identifies the option in the combo box (dropdown) or list matching the specified text and selects it. The status of the operation (**True**) is stored in the **{Status}** variable.

<figure><img src="/files/jWa0oheeKdHTlmdvo78q" 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/dropdown/select-combo-value-by-text.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.
