I need to select a document by clicking Browse... button. After selecting the file for download, I need to click Apply butoon.
My code is simple # open Choose File Windows dialog box $ie.file_field( :name, "document" ).set( "c:\\Watir Testware\\Data\ \vb.txt" ) $ie.button( :id, "applyButton" ).click No complaint, but the button Apply is not clicked. I also tried: $ie.file_field( :name, "document" ).set( "c:\\Watir Testware\\Data\ \vb.txt" ) $ie.form(:name, "ApplyAddDocument").submit got the same result. Please, help. Thanks, Vladimir Belorusets SQA Manager, Xerox --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---