Handle Website Pop-Ups in Scenario Editor
TheLast userreviewed: willSeptember not21, be2026
Use this article when exactlyScenario theEditor windowtests mightencounter bebrowser poppeddialogs, upmodal andwindows, haspermission toprompts, handleor application pop-ups.
Recommended guidance
- Identify whether the popup
with an if condition so that, ifis aparticularbrowsermessagedialog, application modal, new tab, orapermissionlinkprompt. - Avoid
orfixedansleeps;imagewaitis present infor the popupandcondition that matters. - Do not automatically grant browser permissions unless the
usertestrecognizescase explicitly requires it.
Validation workflow
- Trigger the action that
particularopenselementtheandpopuphasintoatakecontrollednecessary decisions. Here is an examplestep. - Wait for the
mentionedspecificsituationdialog,andmodal,itstab,implementationorin Appvance Designer. - Validate the popup
andtextifor state before interacting with it. - Accept, dismiss, or close the
conditionpopupisaccordingfalse,to thespantestofobjective. - Return
Iffocuscondition is skipped for further continuation ofto thescript.main
state.Hereworkflowisand verify thescriptexpectedattachedpagefor the above mentioned example
Popup.dsNote: Older “Designer” wording has been replaced with Scenario Editor terminology.
Last updated: JulySeptember 03,21, 20232026
If you have any feedback on this topic, please contact us at documentation@appvance.ai.