<div>Hi san,</div>
<div> </div>
<div>Try the following with watir 1.4</div>
<div> </div>
<div>ie.file_field(:name, "file1").set("\"c:\\Program Files\\input.txt\"")</div>
<div> </div>
<div>Try appending double quotes to the name of the file.</div>
<div> </div>
<div>Regards,</div>
<div>Angrez <br><br> </div>
<div><span class="gmail_quote">On 1/3/07, <b class="gmail_sendername">san</b> <<a href="mailto:forum-watir-users@openqa.org">forum-watir-users@openqa.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I'm with watir 1.4.... & May Be Thats The Reason That ie.file_field(:name, "file1").set("c:\\Program Files\\input.txt") Is Not Working For Me... Ok Let Me Try
1.5 & Hope It Will Be Fine...<br>---------------------------------------------------------------------<br>Posted via Jive Forums<br><a href="http://forums.openqa.org/thread.jspa?threadID=5951&messageID=16733#16733">
http://forums.openqa.org/thread.jspa?threadID=5951&messageID=16733#16733</a><br>_______________________________________________<br>Wtr-general mailing list<br><a href="mailto:Wtr-general@rubyforge.org">Wtr-general@rubyforge.org
</a><br><a href="http://rubyforge.org/mailman/listinfo/wtr-general">http://rubyforge.org/mailman/listinfo/wtr-general</a><br></blockquote></div><br>