| || |
How to handle Modal dialogs using Selenium
is there any way to handle modal dialogs?
In my app all the alert messages are displaying as modal dialogs..
I tried with alerts code and window handles code but no luck..
i gone through the below post also but i didnt get the solution...
Can u please suggest me which way i have to choose?
Selenium provides and alert object wrapper.
Alerts methods are not working on this modal window, it throws error as UnHandledArertExceptionL Modal dialog Present
Can u please elaborate the above statement?
is there any other way or I have to use AutoIt or any other third party tools?
Originally Posted by Chowdary287
There are some code snippets of how you can override the window.alert() method in the link below.