# Verify Selected Value

This is a pre-built action available under the **Captured Dropdown Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure to check whether the expected input of the selected value in a dropdown list matches the actual output and save the result in dynamic variable.&#x20;

### **Syntax**

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

| Argument                            | Description                                                                  |
| ----------------------------------- | ---------------------------------------------------------------------------- |
| <p>\<input Value><br>(Required)</p> | Specify the expected value to be verified against the selected dropdown item |

**Output Value:**

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

**Example**

**Verifies whether the selected item in a dropdown list matches the expected value during execution.**

The **Verify Selected Value** action takes the value from the Input Value column (e.g., **Air Pacific**) and checks whether it matches the currently selected item in the dropdown. The result of the verification is stored in the **{VerifySelected}** variable as **Ture** (if the value matches) or **False** (if the value does not match)

<figure><img src="/files/UMTe4B5GnXUmhbqa57aa" 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/sap/dropdown-operations/verify-selected-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.
