Hello, I want to test my website but i can’t do anything because there’s a pop up alert (??) or a modal Dialog which blocks all by the way I can’t captured it.
My screen :
Hello, I want to test my website but i can’t do anything because there’s a pop up alert (??) or a modal Dialog which blocks all by the way I can’t captured it.
My screen :
Hello, Toan
did you try WebUI.acceptAlert()?
That should click the OK button. That’s as far as KS will go. But it won’t fix any problems you might have with the site.
Hello Mate,
Yes I tried it and it doesn’t work neither.
Here’s the error message :
05-25-2018 09:37:35 AM - [START] - Start action : acceptAlert
05-25-2018 09:37:36 AM - [FAILED] - No alert found
05-25-2018 09:37:36 AM - [FAILED] - Unable to accept alert (Root cause: No alert found)
05-25-2018 09:37:36 AM - [END] - End action : acceptAlert
05-25-2018 09:37:36 AM - [FAILED] - Test Cases/Login FAILED because (of) Unable to accept alert (Root cause: No alert found)
05-25-2018 09:37:36 AM - [END] - End Test Case : Test Cases/Login
Can you share the HTML of the pop up? (Right-click, inspect)
I can’t right click on the pop up, when I press F12 it’s empty
It’s ok I resolved the issue. I used an other url. Thanks