| || |
How to close multiple instances of Security Alert
In my project when i open the application URL i am getting pop security dialogs like 'Security Alert' and 'Security Information'.
The problem is when i close one 'Security Alert' dialog immediately another one appears.Like that within little span of time i have more than one instance of 'Security Alert' dialogs.I cannot close them as there are more than one instance of same 'Security Alert' dialog.
My code isn't working.I have to click on yes every time.The code which i have written was...
if browser("IE").dialog("SA").exist(0) then
until browser("IE").dialog("SA").exist(0) <> "True"
Re: How to close multiple instances of Security Al
Usually i put a sync in such a case after closing the first dialog.