I know this is mainly for Watir, but I thought some of you might be interested 
in what I found with FireWatir.

One of my goals at the place I am currently working is to have a set of scripts 
that I can run on IE, Firefox, and Safari.  I already have a number of scripts 
working for Watir.  I finally was able to get FireWatir working on my system 
(for those interested, you might want to check out the Google FireWater Group 
discussion at http://groups.google.com/group/firewatir ).

I modified the first script by changing references from Watir to FireWatir.  I 
had anticipated doing this so I changed the

$br = Watir::IE.new

to

$br = FireWatir::Firefox.new

and ran the script.  After correcting a couple editing errors, the script ran 
all the way through.  I was very happy since the script did a number of 
operations that were common to other scripts.

I decided to try this with a second script.  I made the edits and ran the 
script.  This time the script failed because it could not locate a table cell 
that was identified by class.   

$br.cell(:class, "x")

This works fine in Watir.  I went back and looked at the cell and the class is 
the only thing that uniqely identifies it.  I 'll have to figure something else 
to do.

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

Reply via email to