Hi,

I am also facing this problem.
I followed your steps, downloaded the control, but still when script executes, 
the code hangs, and download box remains open.

pls. help

    link='reportMainForm:arol3'
    @ie.link(:id,link).click
    sleep(3)
    
    #get csv
    @ie.button(:src,/greenBtn_SaveReportAsCSV.gif/).click()

### hangs here.............................the following code never executes

    autoit = WIN32OLE.new('AutoItX3.Control')
    autoit.WinWaitActive("File") #File Download window
    autoit.ControlClick("File","","[CLASS:Button;TEXT:&Cancel;INSTANCE:3]")
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to