[Wtr-general] How do you access an image that doesn't have img in the HTML tag?
Paul Rogers
paul.rogers at shaw.ca
Thu Oct 5 14:46:39 EDT 2006
a reg exp is better here
ie.button( :src, /SelectRow1.gif/ ).click
----- Original Message -----
From: "Dave Munns" <forum-watir-users at openqa.org>
To: <wtr-general at rubyforge.org>
Sent: Thursday, October 05, 2006 8:55 AM
Subject: Re: [Wtr-general] How do you access an image that doesn't have img
in the HTML tag?
> Try ie.button( :src, "\images\SelectRow1.gif" ).click
> You may to specify the full directory path
> (C:\whatever...\images\SelectRow1.gif)
> ---------------------------------------------------------------------
> Posted via Jive Forums
> http://forums.openqa.org/thread.jspa?threadID=4672&messageID=12948#12948
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>
More information about the Wtr-general
mailing list