I've the watir version 1.6.2 and when i added the code snippet as prompt_message = "Do you want to open or save this file?" window_title = "File Download" save_dialog = WIN32OLE.new("AutoItX3.Control") sleep 1 save_dialog_obtained = save_dialog.WinWaitActive(window_title,prompt_message, 25) save_dialog.ControlFocus(window_title, prompt_message, "&Save") sleep 1 save_dialog.Send("S") save_dialog.ControlClick(window_title, prompt_message, "&Save")
but its not working. it stuck on that file download window at the begining. not moving further.. Anything i am missing?? thanks Arihan On Tue, Dec 8, 2009 at 4:16 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Tue, Dec 8, 2009 at 5:14 PM, arihan sinha <arihan.si...@googlemail.com> > wrote: > > Then I think I've to install AutoIt ...rt? > > Autoit is installed with Watir. > > Željko > > -- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To post to this group, send email to watir-general@googlegroups.com > Before posting, please read the following guidelines: > http://wiki.openqa.org/display/WTR/Support > To unsubscribe from this group, send email to > watir-general-unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/watir-general > -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general