On Mon, Sep 20, 2010 at 2:35 PM, USMAN ALI <[email protected]> wrote:
> its return strings expected array of watir table rows...

Can you paste what you get and then what you would like to get?

I have never used it, but looks like Watir can access tbody [2] tag
directly:

browser.tbody(how, what)

Not sure how bodies[3] works, but looks like you have only one tbody tag in
your table, browser.table(how, what).bodies[1] should not point to anything.
Try browser.table(how, what).bodies[0]

Željko
--
[1] http://wiki.openqa.org/display/WTR/XPath
[2] http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir
[3] http://wiki.openqa.org/display/WTR/Collections+of+HTML+Elements

-- 
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