Hi Guys,

I am testing a payment system that has a test-harness set up to
simulate a third party redirection. The test harness is set up as non
secure. So when I trigger some action like - "Deposit" from a secure
page - It takes me to this test harness and I get prompted with a
popup with a "Cancel" and "Continue" button. I have read this article
--

http://stackoverflow.com/questions/8164039/handling-a-javascript-popup-occurring-on-a-keyup-event

I am trying to understand when it says " The click method inside the
loop is the action that makes the alert appear."

Since I am not on the same page as mentioned in the example, is there
a direct way of hitting "Enter" or to "Continue" with the popup?
I have tried the following -
browser.alert do
  browser.button(:value => "Continue").click
end
No matter what I try, the pop up is dismissed but I get an error
message saying "Modal Dialog present"

Any help will be great!!

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to