The following automation code to download a file produces an error
undefined method
`enabled_popup'.
Please help me to resolve it.
THanks.

Code-
require 'watir'
require 'watir/contrib/enabled_popup'
ie= Watir::IE.new
ie.goto("http://http://www.yousendit.com/transfer.php?
action=batch_download&batch_id=elNKWWV0NmNtNEkwTVE9PQ");
ie.link(:url,/transfer.php/).click_no_wait

hwnd = ie.enabled_popup(15) # get a handle if one exists

if (hwnd) # yes there is a popup
w = WinClicker.new
w.makeWindowActive(hwnd)
w.clickWindowsButton_hwnd(hwnd, "Save")
end

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to