(I think I have that right, Bret or someone else
could explain it better.)
Actually B is not a reference to A, but rather a
reference to the same collection that A points to.
They are both equally valid names for the same thing.
And on cue.. :-)
Thanks for clearing that up.
-Jonathan
Hi Paul,
I actually came across a problem with the method I described above today. I
was scripting a page for a customer and the problem with the cookies occured. I
had no idea what was wrong until I remembered that you mentioned that the
cookies were the source of your problems. So thanks,
There's not an execution control variable, but instead of sleep which is
unreliable, the best bet when using Watir 1.5 is to use the wait_until
method.
For example,
do something
wait_until{ ie.button(:value, 'Click Me').exists?) # poll for some
control to show up with defaults of
National retailer has an immediate need for a test engineer with experience
in Ruby/WATiR.
Work on a very high profile J2EE based Ecommerce effort. Lead type role,
involving mainly test automation.
6-9 months downtown. Calls or email are fine.
Thanks,
Bob
Bob Lepesh
JD Strategies