On 10/20/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > Yeah, ok, I can see that being the case.  The thing that I'm a little
> > confused about is the fact that, in Watir, I basically did something
> > like this:
> >
> > (1..40).each { |i|
> >     ie.link(:index, i).flash
> > }
> >
> > and while a ton of other stuff flashed, the "Start Node" never did.
>
> Shot in the dark, but what does (0..40).each do?
>
> Thanks;
>
> -Jonathan

It's a range, which would essentially do:
ie.link(:index, 1).flash
ie.link(:index, 2).flash
ie.link(:index, 3).flash
...etc...
ie.link(:index, 40).flash

What I'm getting at, is that I attempted to flash every link
available, which worked on the "Home Node" (flashed just to the right
of the + image), but not on the "Start Node".  If links can be
referenced by index on the page, then each link should be visible
given the correct index value, so that link *should* have flashed
(unless somehow my index number wasn't high enough, but I'm sure it
was).

Incidentally, Watir really is very slick!

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

Reply via email to