i have tried with different methods found on here in group but not
getting any solution.
I have a web page on which a browse button i have to click.
$IE.form(:index, 1).text_field(:name,"upfile").value="C:\Documents and
Settings\vvdntech\Desktop\pImage"
$IE.form(:index, 1).text_field(:name,"upfile").set('')
Please give a good working solution.
the code :-
<form enctype="multipart/form-data" method="post" action="/
update.cgi"><input type="file" class="m1" name="upfile"><span
class="m1">and click</span><input type="submit" value="Update"
class="m1"></form>
.thnx in advance.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]