Latest investigation showed that method +Watir::FileField.set+ attempts to select file in the default browsed directory File Selector opens with. I didnt manage to change that directory from Watir, but file is selected successfully when i put it to that default folder and call method as below
+reportFrame.fileField(:id, /body_filebrowse/).set("qtpt1_20070612.txt")+ i.e. without specifying full path to the file. _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general