For the most part, Vincent, nested tables are straightforward. If you have an @ie object, and frame A containing frames B and C, which contain other elements:

Text box in frame B:     @ie.frame('A').frame('B').text_box(:id, 'my_text_box').set('sample text')

Button in frame C:        @ie.frame('A').frame('C').button(:id, 'my_button').click

Where nested frames can get hairy is when their contents come from different domains. But that is rare, relatively speaking.

Lonny Eachus
=========

Subject:
[Wtr-general] nested tables
From:
Vincent Predoehl <[EMAIL PROTECTED]>
Date:
Fri, 22 Sep 2006 21:36:14 -0500

I'm writing scripts to test a web site I didn't write myself.  This web site has nested tables … not all of them have names … noobs.

How do you access nested tables in watir?  I've tried everything and am at my wit's end.  I'm about ready to just grep the source code for the links, but I'd rather not do that.

-- 
Vincent


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

Reply via email to