# 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="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2F95GjuBZsGvkxIbhNVUwN%2Fimage.png?alt=media&#x26;token=fed12680-f0b0-4aa6-829f-783b373756db" alt=""><figcaption></figcaption></figure>
