title: How can I verify existence of text inside a table view row given its index in an XCTest UI Test?
body: <p>I am using XCTest UI Test framework to check rows in a table view. In my test I need to verify the existence of text in a table view row given its index.</p>
  
  <p>I was thinking of using <code>tableRows.elementBoundByIndex</code> method, but it did not return anything. The number of rows returned by calling <code>tableRows.count</code> is zero. The table is present and filled because I can query the text inside the rows successfully:</p>
  
  <pre><code>XCTAssertEqual(app.tables.staticTexts["Cute Alpaca"].exists)
  </code></pre>
  
  <p>How can I verify existence of a text in a row given its index in an XCTest UI test? </p>