Dismiss Popup
This is a pre-built Action located under the @BrowserPopUp Element. The functionality of this Action in Avo Assure is to dismiss a browser popup message. The result is stored in a dynamic variable for further use during test execution.
Syntax
Input Value: N/A
N/A
Not Applicable
Output Value: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
Both dynamic variable stores the status as True or False.
Example: Dismissing an Active Popup or Alert
In this example, we explain how to close or dismiss an active popup or alert on a web page using the Dismiss Popup action.
Action: Dismiss Popup
Input Value: N/A
This action does not require any input value. It closes or dismisses the currently displayed alert or confirmation popup on the web page.
Output Value: {Popup}
The result of the popup handling is stored in this {Popup} dynamic variable with the following possible values:
True: If the popup is dismissed successfully.
False: If the popup is not dismissed successfully.
Logical Explanation: The Dismiss Popup action detects any active browser alert or confirmation message and dismisses it. The result of this operation is stored in the {Popup} variable as true.

Last updated
Was this helpful?