I answered my own question I think :)

First of all, I had to get 1.5.1, which took a bit of finding!

Now the example I found on Wikipedia works

require 'watir/winclicker'
require 'watir/contrib/enabled_popup.rb'
ie.link(:url, "someaddress").click_no_wait
hwnd = ie.enabled_popup(5)
if (hwnd)
  w = WinClicker.new
  w.makeWindowActive(hwnd)
  w.clickWindowsButton_hwnd(hwnd, "Cancel")
end
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6632&messageID=18990#18990
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to