This is HTML of table content and i want to test this HTML tags
<thead>
<tr>
<td>
<a href="#" ng-click="sortType = 'date'; sortReverse = !sortReverse">
Date-Time
</a>
</td>
<td><a>Amount</a>
</td>
<td><a>Transaction Type</a>
</td>
</tr>
</thead>
<tbody>
<!-- ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end -->
<tr id="anchor0" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope">
<td class="ng-binding">Dec 8, 2016 4:44:43 PM</td>
<td class="ng-binding">210</td>
<td class="ng-binding">Credit</td>
</tr>
<!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end -->
<tr id="anchor1" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope">
<td class="ng-binding">Dec 8, 2016 4:45:08 PM</td>
<td class="ng-binding">100</td>
<td class="ng-binding">Debit</td>
</tr>
<!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end -->
<tr id="anchor2" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope">
<td class="ng-binding">Dec 13, 2016 10:54:03 AM</td>
<td class="ng-binding">1000</td>
<td class="ng-binding">Credit</td>
</tr>
<!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end -->
<tr id="anchor3" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope">
<td class="ng-binding">Dec 13, 2016 10:54:05 AM</td>
<td class="ng-binding">32</td>
<td class="ng-binding">Credit</td>
</tr>
<!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end -->
<tr id="anchor4" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope">
<td class="ng-binding">Dec 13, 2016 10:54:10 AM</td>
<td class="ng-binding">155</td>
<td class="ng-binding">Debit</td>
</tr>
<!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end -->
<tr id="anchor5" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope">
<td class="ng-binding">Dec 13, 2016 10:54:12 AM</td>
<td class="ng-binding">12</td>
<td class="ng-binding">Debit</td>
</tr>
<!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end -->
</tbody>
</table>
In case table is generated using repeater, you can write loop to get rows and then columns present in that.
For example:
Edit:
Using above code you will able to print the grid, and you can write whatever logic you need to verify data too.