# Get Tool Tip Text

This is a pre-built Action located under the captured element. The functionality of this action in Avo Assure is to retrieve the tooltip text associated with the captured element. 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>;<Dynamic Variable>(Optional)`

| Argument                                 | Description                                                              |
| ---------------------------------------- | ------------------------------------------------------------------------ |
| <p>\<Dynamic Variable><br>(Required)</p> | This dynamic variable stores the retrieved tooltip text from the object. |
| <p>\<Dynamic Variable><br>(Optional)</p> | This dynamic variable stores the status as **True** or **False**.        |

### **Example: Retrieving Tooltip Text from a Captured Element**

In this example, we are explaining how to fetch the tooltip text associated with a captured UI element in the application.

* **Action**: Get Tool Tip Text
* **Input Value**: N/A
  * This action does not require any input value. It retrieves the tooltip text that appears for the specified UI element.
* **Output Value**: {Text}
  * The extracted tooltip text (Click here) is stored in the **{Text}** dynamic variable.
  * If a second output variable is defined, it stores the action status with the following possible values:
    * **True**: If the tooltip text is retrieved successfully.
    * **False**: If the tooltip text is not retrieved.
* **Logical Explanation**: The **Get Tool Tip Text** action does not require any input value. The action identifies the captured UI element and extracts the tooltip text associated with it. The retrieved tooltip content (Click here) is stored in the **{Text}** variable.

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FZguN02GZinOGdCXGuy8s%2Funknown.png?alt=media&#x26;token=868f802e-6bb3-4e4d-8713-61965bf1a21b" alt=""><figcaption></figcaption></figure>
