When I'm working with elements within nested tables I collect the
number of tables then loop backwards through them starting with the
deepest nested table (the one with the highest index number), and
start looking for the element I'm interested in there, if its not
found
continue to the next lowest table index number.

This assures that the  the element will be found within the table that
is is direct parent.
The same technique work for nested frames, spans, or divs.

Joe

On Sep 3, 4:42 am, Ashok Prabhu <[email protected]> wrote:
> Hi,
>
> locating elements in a dom in cases like elements inside nested
> tables, nested frames and elements based on the index attribute. Are
> there any pointers to any good resources for further reading.
>
> Thanks,
> ~Ashok.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

Reply via email to