How to conditionally handle click on Confirm Dialog box in ATS script

0
I have a scenario where I may get a pop up confirm dialog box conditionally. If i script to click on Confirm Dialog and it does not pop up script fails and if I skip to click OK on dialog pop up then it fails in case dialog box appears. Is there any way I can check if dialog box comes then click else skip the step OR do not allow this step to fail entire script but continue on to next step in ATS.
asked
1 answers
1

You can accomplish this by checking if there is a dialog before confirming it

answered