title: How to test Table and it's content in protractor?
body: <p><a href="https://i.stack.imgur.com/5K840.png" rel="nofollow noreferrer">This</a> is HTML of  table content and i want to test this HTML tags 
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;thead&gt;
    &lt;tr&gt;
      &lt;td&gt;
        &lt;a href="#" ng-click="sortType = 'date'; sortReverse = !sortReverse"&gt;
                  Date-Time
                &lt;/a&gt;
      &lt;/td&gt;
      &lt;td&gt;&lt;a&gt;Amount&lt;/a&gt;
      &lt;/td&gt;
      &lt;td&gt;&lt;a&gt;Transaction Type&lt;/a&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  
  &lt;tbody&gt;
  
  
    &lt;!-- ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end --&gt;
    &lt;tr id="anchor0" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope"&gt;
      &lt;td class="ng-binding"&gt;Dec 8, 2016 4:44:43 PM&lt;/td&gt;
      &lt;td class="ng-binding"&gt;210&lt;/td&gt;
      &lt;td class="ng-binding"&gt;Credit&lt;/td&gt;
    &lt;/tr&gt;
    &lt;!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end --&gt;
    &lt;tr id="anchor1" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope"&gt;
      &lt;td class="ng-binding"&gt;Dec 8, 2016 4:45:08 PM&lt;/td&gt;
      &lt;td class="ng-binding"&gt;100&lt;/td&gt;
      &lt;td class="ng-binding"&gt;Debit&lt;/td&gt;
    &lt;/tr&gt;
    &lt;!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end --&gt;
    &lt;tr id="anchor2" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope"&gt;
      &lt;td class="ng-binding"&gt;Dec 13, 2016 10:54:03 AM&lt;/td&gt;
      &lt;td class="ng-binding"&gt;1000&lt;/td&gt;
      &lt;td class="ng-binding"&gt;Credit&lt;/td&gt;
    &lt;/tr&gt;
    &lt;!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end --&gt;
    &lt;tr id="anchor3" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope"&gt;
      &lt;td class="ng-binding"&gt;Dec 13, 2016 10:54:05 AM&lt;/td&gt;
      &lt;td class="ng-binding"&gt;32&lt;/td&gt;
      &lt;td class="ng-binding"&gt;Credit&lt;/td&gt;
    &lt;/tr&gt;
    &lt;!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end --&gt;
    &lt;tr id="anchor4" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope"&gt;
      &lt;td class="ng-binding"&gt;Dec 13, 2016 10:54:10 AM&lt;/td&gt;
      &lt;td class="ng-binding"&gt;155&lt;/td&gt;
      &lt;td class="ng-binding"&gt;Debit&lt;/td&gt;
    &lt;/tr&gt;
    &lt;!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end --&gt;
    &lt;tr id="anchor5" ng-repeat="tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end" class="ng-scope"&gt;
      &lt;td class="ng-binding"&gt;Dec 13, 2016 10:54:12 AM&lt;/td&gt;
      &lt;td class="ng-binding"&gt;12&lt;/td&gt;
      &lt;td class="ng-binding"&gt;Debit&lt;/td&gt;
    &lt;/tr&gt;
    &lt;!-- end ngRepeat: tx in transactions | orderBy:sortType:sortReverse | sDate:startDate:end --&gt;
  &lt;/tbody&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>