Hello guys
I am running an web application driven by watir
in the webpage when i click the logout button the page should exit but
the problem is a pop window comes stating “are you sure “yes or no””
I need some help how to access this window and force it to yes and close
automatically.
thanx in advance
Ravi K. wrote:
Hello guys
I am running an web application driven by watir
in the webpage when i click the logout button the page should exit but
the problem is a pop window comes stating “are you sure “yes or no””
I need some help how to access this window and force it to yes and close
automatically.
thanx in advance
You have many options:
2 of them →
1- SendKeys -
2- check this example and modify the wait() method according your
window title http://wiki.openqa.org/display/WTR/Security+Alerts
-ronnie.
thanx a lot
it helped a lot