I searched Archives & Did This To Download Files.. But its Now Working...
Can You Pls Help Me Out wheres the Problem... The Save Button Is Not Getting
Clicked...
[code]require 'win32ole'
require 'watir'
include Watir
ie = IE.new
ie.goto('http://www.mozilla.com/en-US/firefox/all.html')
ie.link(:url, /lang=af/im).click
autoit = WIN32OLE.new('AutoItX3.Control')
autoit.Opt("WinTitleMatchMode", 2)
autoit.WinWaitActive("File Download")
autoit.ControlClick("File
Download","","[CLASS:Button;TEXT:&Save;INSTANCE:2]")[/code]
Thanks In Advance... :)
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general