Dismiss Popup
This is a pre-built Action located under the @BrowserPopUp Element, instructs the Avo Assure to dismiss a browser pop-up and save the result in the dynamic variable.
Syntax
Input: N/A
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario
You are testing the online shopping app, when you click Add to Cart, a pop-up appears asking, “View Cart.” Normally, you would need to click “View Cart” to see the cart items. However, if you want to continue shopping and select more items during testing, you might not want to interact with this pop-up. So, to handle this, Avo Assure uses the Dismiss Popup action to automatically close the pop-up, allowing the user to continue selecting items without any interruption.
Expected Result
The popup message “View Cart” should be automatically closed without any manual intervention and should store the result in output variable.
Output
The result of the Dismiss Popup action is stored in the {result} output variable as “True”, which can be utilized for display or other purpose.
Last updated
Was this helpful?