Accept Popup
This is a pre-built Action located under the @BrowserPopUp Element, instructs Avo Assure to automatically accept the popup message that appears in the browser during debugging or execution and save the result in the dynamic variable.
Syntax
Input: N/A
N/A
Not Applicable
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
The dynamic variable holds the status as True or False.
Example
Handles and accepts a browser popup alert if present.
The Accept Popup action does not take any input value. When a popup appears (e.g., “Are you sure you want to log out?”), this action automatically clicks the “Yes” button to accept the popup. The status of this action is saved in the {AcceptPopup} output variable with the following values:
True - If popup accepted successfully.
False - If popup acceptance failed or an error occurred.


Last updated
Was this helpful?