# Get Button Name

This is a pre-built action available under the **Captured Button Element** from the **SAP GUI Application**. The functionality of this action in Avo Assure is to fetch the button name and save the result in dynamic variable.

### **Syntax**

**Input Value:** `N/A`&#x20;

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

**Output Value**&#x20;

| Argument                       | Description                                                      |
| ------------------------------ | ---------------------------------------------------------------- |
| \<Dynamic Variable> (Required) | This variable stores the fetched button name as text.            |
| \<Dynamic Variable> (Optional) | This dynamic variable holds the status as **True** or **False.** |

**Example**&#x20;

**Fetches the name of the captured "More Fields Button" element from SAP application**&#x20;

The **Get Button Name** action does not require any input. It fetches the visible text of the captured password button element. The result of the operation is stored in the **{Button Name}** variable.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FAM3Yf0aSRnUOHF9dQFur%2Fimage.png?alt=media&#x26;token=dbe8d3cc-94dc-4eb5-a92b-ad0ce4db1e4c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FrFK7fmzKBFnBu3MD3Bse%2Fimage.png?alt=media&#x26;token=1c73e14b-9ff2-4f10-bafc-9cda59560143" alt="" width="302"><figcaption></figcaption></figure>
