I am trying to write my watir script to capture the following data (table body headers and table row data, but I had problems trying to figure out how to access the table. (As soon as I get this, the rest is a piece of cake).
Can someone come up with something to help me access the table? It does not have a name or identifier ...
<div id="income"> <table class="tHe" cellspacing="0"> <thead> <tr> <th id="companyLabel" class="tFirst" style="width:30%"> Quarter Ending </th> <th id="201004" class="tFirst right">Apr 10 </th> <th id="201001" class="tFirst right">Jan 10 </th> <th id="200910" class="tFirst right">Oct 09 </th> <th id="200907" class="tFirst right">Jul 09 </th> <th id="200904" class="tFirst right">Apr 09 </th> </tr> </thead> <tbody id="revenueBody"> <tr> <td class="indtr">Totals</dfn></td> <td class="right">2849.00</td> <td class="right">3177.00</td> <td class="right">5950.00</td> <td class="right">4451.00</td> <td class="right">3351.00</td> </tr> ...
source share