Hi Bach,

The method for finding the element initially worked for Absolute path but
while implementing it for forms i got into trouble. So its like this:

Whatever HTML you see in Firefox browser will be used for identifying the
element. In case you want it to work both with WATiR and FireWatir you can
use regular expression like this:

ff.image(:src,  /\/Images\/Global\/placeitemsinbag.gif/).click

- Angrez


On 1/18/07, Bach Le <[EMAIL PROTECTED]> wrote:

Hi Angrez,
  Thanks for clarifying that. Although it does work on watir, do you have
any idea why it doesn't work on FireWatir? Seems to be that would be nice to
have both the relative path and the absolute path for the element src. If
you'd like, i'd be happy to take a look at the code and perhaps come up with
a solution. Thanks for your hard work.


-Bach
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6078&messageID=17320#17320
_______________________________________________
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