Help in overcoming my testing app problem
Posted: Fri Feb 27, 2015 12:43 pm
Afternoon:
In our application, we have a confirmation dialog and on accepting it the Page will refresh and shows a Order confirmation number.
With Webdriver I tried to accept the alert by using alert().accept and also tried the Enter key with Robot class but in both the cases the Alert is accepted but the page is not refreshed.
I also tried to force refresh the page but to my surprise the steps after alert accept are not executed, I have steps for sleep and Object existence.
Please advise me how to get resolve this issue and get the page refreshed after alert accept.
Thanks
In our application, we have a confirmation dialog and on accepting it the Page will refresh and shows a Order confirmation number.
With Webdriver I tried to accept the alert by using alert().accept and also tried the Enter key with Robot class but in both the cases the Alert is accepted but the page is not refreshed.
I also tried to force refresh the page but to my surprise the steps after alert accept are not executed, I have steps for sleep and Object existence.
Please advise me how to get resolve this issue and get the page refreshed after alert accept.
Thanks