This is the scenario I am trying to use Watir for:
1. Click link within IE window
2. Standard Microsoft window opens - File Download (Window Title) - Click Save
3. Standard Microsoft window opens - Save As (Window Title) - Click Save
4. Standard Microsoft window opens - Download Complete (Window Title) - Click
Close
5. Continue with script
I am to get through Steps 1 & 2 via the following code (this was available
within the forum):
ie.link(:id, "export_results_to_excel").click_no_wait()
hwnd = ie.enabled_popup(15)
if (hwnd)
popup = WinClicker.new
popup.makeWindowActive(hwnd_1)
popup.clickWindowsButton("File Download", "Save", maxWaittime = 30)
end
It's moving through steps 3 & 4 where I'm struggling. On a side note, this
product rocks!
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general