mailing lists">


List Info

Thread:




<input type="image">
user name
2006-09-26 13:29:03
can you help, how can I access to such element?
<input type="image">
user name
2006-09-26 16:22:28

Hi Luke.

 

What types of things did you try?

 


From: wtr-general-bouncesrubyforge.org [mailto:wtr-general-bouncesrubyforge.org] On Behalf Of Luke
Sent: Tuesday, September 26, 2006 6:29 AM
To: wtr-general
Subject: [Wtr-general] <input type="image">

 

can you help, how can I access to such element?

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.9/456 - Release Date: 9/25/2006

<input type="image">
user name
2006-09-26 16:31:45
Short answer -- it's a button and has other attributes that
you need
to use, name, src, id... something:
<input type="image" name="clickme"
src="clickme.gif">
$ie.button(:name, 'clickme').click
or
$ie.button(:src, /clickme/).click

It's in the FAQ and the user guide both slightly indirectly,
User Guide in the Forms section:
htt
p://www.openqa.org/watir/watir_user_guide.html
Needs to be moved up into the previous section on input
elements.
FAQ: http://wiki.op
enqa.org/display/WTR/FAQ
in the section "Unable to locate object" error
when clicking an image

-Charley

On 9/26/06, Luke <luccaszgmail.com> wrote:
> can you help, how can I access to such element?
>
> _______________________________________________
> Wtr-general mailing list
> Wtr-generalrubyforge.org
> htt
p://rubyforge.org/mailman/listinfo/wtr-general
>
>
_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )