Get Button Name

Get Button Name action in the Avo Assure is found under the Captured Button Element. This action is used to fetch the specific name of the button that was clicked and save the status (True/False) in the given output variable.

Syntax

Input: N/A

Output: <Dynamic Variable>;<Dynamic Variable>(Optional)

Usecase/Example

Scenario

When testing a banking application, there is a “Confirm” button used for confirming transactions. During testing, Avo Assure can fetch the name of the clicked button to verify that the “Confirm” button was selected correctly. This ensures that the intended action was performed without any mistakes.

Expected Result

It should fetch the name of button as “Confirm” ad store the result in output variable as True.

Output

The result of the Get Button Name action is stored in the {result} output variable as “Confirm”, which can be utilized for display or other purposes.

Last updated

Was this helpful?