Hi Everyone,

I am working on automating an GWT app for the first time.  I am trying to 
get data from td tag in a 
specific table .  

When I run the following code:

thr = br.div(:class,'middleCenterInner').trs

I get the data from the first td.  I need to get to the second.

Here the code:

<div id="main" style="padding: 10px">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="left" style="vertical-align: top;">
<td align="left" style="vertical-align: top;">  ** I need to data from this 
one.
</tr>
</tbody>
</table>
</div>

You can see there is nothing useful to use to get there.  Most of the 
useful tags in the these
tds are the same.

I did try using the index and that didn't workout.
My Code:
thr = br.td(:index,1).div(:class,'middleCenterInner').trs

Any help would be greatly appreciated.

Thank you,
Joe

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to