how click on save button and after select paticualr drive and folder to sva
e the file.

i m using some coad but not working......


  require 'win32ole'
          autoit = WIN32OLE.new("AutoItX3.Control")
          autoit.WinWait("File Download", "Do you want to open or save", 3)
          autoit.ControlClick("File Download", "Do you want to open or
save", "&Save")
           autoit.WinWait("Save As", "Save &in", 3)
          autoit.ControlSetText("Save As", "Save &in", "Edit1",
"path\filename.ext")
          autoit.ControlClick("Save As", "Save &in", "&Save")




          #$ie.button(:caption, "Save").click_no_wait

          #sleep 3

          #assert dialog.exists?

          # sleep 0.4

           #$ie.button('Save').click
           #content_frame(@ie).fileField(:id,
'file_name').set("D:/files/filename.txt")
          #$ie.back



   please help ....!!!!!!!!!!!


--
With Thanks and Regards,



Anand Vardhan Srivastava
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to