thanks for replying Željko . But its nt useful its still giving error
as i was facing before
C:/Ruby186/lib/ruby/gems/1.8/gems/watir-1.6.7/lib/watir/element.rb:
58:in `assert_exists': Unable t
locate element, using :name,
"upfile" (Watir::Exception::UnknownObjectException)
from C:/Ruby186/lib/ruby/gems/1.8/gems/watir-1.6.7/lib/watir/
input_elements.rb:366:in `set
from firmwareupdate.rb:27:in `image_update'
from firmwareupdate.rb:84
...........................
this time i tried
$IE.text_field(:name,"upfile").set("C:\Documents and Settings\vvdntech
\Desktop\pImage")
On Nov 19, 4:37 pm, Željko Filipin <[email protected]>
wrote:
> On Fri, Nov 19, 2010 at 12:33 PM, mike_sukhi <[email protected]> wrote:
> > <input type="file" class="m1" name="upfile">
>
> The answer is here:
>
> http://wiki.openqa.org/display/WTR/File+Uploads
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them
--
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]