What do you mean by "can't i get this one work"? Nothing happens?

Try  ie.image(:name,"imgTest").flash to flash image.

What do you want to do?
Do you want to fire javascript event (fire_event(event) should help ) or is
this image a submit button?

If image is button this should list it:

ie.buttons.each { |i| puts "\n#{i.to_s}" }

and then acces it like it is a button (ie.button(:name,"imgTest").click).

This will list all images at page with properties ('\n' is there just to
separate images):

ie.images.each { |i| puts "\n#{i.to_s}" }

Zeljko

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, July 12, 2005 10:06 AM
To: [email protected]
Subject: [Wtr-general] image.click

HI! Why can't i get this one work.

$ie.image(:name,"imgTest").click

is there anything wrong with this one?

i also tried src, id. but still no luck.
I know that this object is existing because I tried show_all_objects and
this image is listed. Thanks





Jan M. Montano
Lead QA / Developer
Regional Application Development
Thomson (Philippines) Corporation
18th Floor Ayala Life - FGU Center
6811 Ayala Ave., Makati City
Philippines
(632) 878-5890


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to