> 1) File Download window asking user to SAVE or OPEN (I want to be able to > click on SAVE here) > 2a) Save window pops up for user to type in file name and SAVE > 2b) Save AS window pops up to ask user whether to REPLACE existing file name > or SAVE AS a new file name (I want to be able to click on REPLACE here) > 3) Save AS small pop-up window to ask for confirmation to Replace YES/NO (I > want to click on YES here) > 4) Download Complete pop-up window to ask user to OPEN, Open Folder, or > CLOSE dialog box (I want to click on Close here) > > If there is something already written for this, I would appreciate you > letting me know where I can find the documentation on this. Thanks!
I think that AutoIT (installed with Watir) will do this. I have done this in a Perl script using Perl's Win32::GuiTest module. (BTW, having done "save as", you probably want to check that the file actually exists where you told it to be saved.) I launched the Ruby/Watir script from the Perl script. In the not-too-distant future, there should be a pure-Ruby win32/guitest library available that will handle this sort of thing-- but it's not ready today. (Hint: read up on Ruby Threads.) -Chris _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
