Our app has some buttons that, when clicked, pop up a Javascript alert
and want a 'yes' or 'ok' response to continue and do the function that
they do.  I  found some suggestions for how to do this with Watir but
none of 'em worked.  For example I tried this one:
  Thread.new { sleep 0.1; WindowHelper.new.push_alert_button }
  $ie.link(:id, "whatever").click #this causes an Alert()
Unfortunately I've forgotten the other one I tried and can't find it
now (this was Friday, I've had a whole weekend to forget).

I found some emails with references to AutoIt, and tried researching
that but the emails were too cryptic for me.  Is there a way to click
a button on a Javascript popup alert?
thanks
Lisa

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to