Hi, I too face the same problem with Watir 1.4.1 while running the unit tests; if the installation directory contains a space in the folder name the upload simply doesn't work. I don't know if it is solved or not.
The only way is to remove the space from your folder name. Or try a path with no space. Regards, Angrez On 12/29/06, san <[EMAIL PROTECTED]> wrote:
Ok, It Was Not The Double Quotes That Was Causing Problem :) Its The Space In The Name Of The Folder... It taking Path Like "c"\abc.gif" But Its Not Taking The Path like 'c:\new folder\abc.jpg', as it says can't find 'c:\new'. I Think The Space Between New & Folder Is Causing Problem... I Also Tried... 'c:\\new\ folder\\abc.jpg' and "c:\\new\ folder\\abc.jpg", but nothing worked... So Whats The Solution Pls? Also as you said ie.file_field(:id, "onetidIOFile").set('c:\abc.gif') is working fine, but another black dos box is coming up and many lines are passing through it very fast, i think it the way of searching the file path, but its taking a long time, at least 10 secs for a file... Is there any other way to do it... Thanks For The Reply... --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=5946&messageID=16647#16647 _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general