# verifyEnabled

This is a pre-built Action located under the captured element. The functionality of this action in Avo Assure is to verify whether the captured element is enabled or not on the screen. The result is stored in the given dynamic variable for further use during test execution.

## **Syntax**

**Input Value**: `N/A`

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

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

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

### **Example: Verifying Whether a UI Element Is Enabled for Interaction**

In this example, we are explaining how to verify whether a specified UI element on the application interface is enabled and ready for interaction.

* **Action**: verifyEnabled
* **Input Value**: N/A
  * This action does not require any input value to perform the enabled state verification.
* **Output Value**: {Status}
  * The verification result is stored in the **{Status}** dynamic variable, with the following possible values:
    * **True:** If the element is enabled and available for interaction.
    * **False:** If the element is disabled.
* **Logical Explanation:** The **verifyEnabled** action locates the captured object on the application interface and checks whether it is enabled. The verification result (**True**) is stores in the **{Status}** variable.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2Fzv0yeFOdKH3iPodsaWPc%2Funknown.png?alt=media&#x26;token=9f400d65-b9cc-4ad2-9eef-038e44e063bf" alt=""><figcaption></figcaption></figure>
