Dismiss Popup
Last updated
Was this helpful?
Last updated
Was this helpful?
The Dismiss Popup action in the Avo Assure is found under the @BrowserPopUp Element is used to dismiss the pop-up message that appears in the browser, so the user doesn’t need to close the pop-up manually and save the status (True/False) in the given output variable as popup dismissed.
Input: N/A
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
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.
The popup message “View Cart” should be automatically closed without any manual intervention and should store the result in output variable.
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.