Accept Popup
Last updated
Was this helpful?
Last updated
Was this helpful?
The Accept Popup action in the Avo Assure under the @BrowserPopUp Element is used to automatically accept the pop-up message that appear in the browser and save the save the status (True/False) in the given output variable.
Input: N/A
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
You are testing the banking web application, when clicking the “Sign Out” button, a pop-up asks like, “Are you sure you want to log out?”, the user would click on the “Yes” button to log out. During testing, instead of clicking the pop-up manually, the Avo Assure uses the “Accept Popup” action to automatically click on the “Yes” button and log out the user from the website.
The Accept Popup Action should click on Yes button of the Popup and store the result in the output variable.
The result of the Accept Popup action is stored in the {result} output variable as “True”, which can be utilized for display or other purpose.