### Question:
Table extends AbstractElement { public String getRowText(int rowIndex) { String rowText = null; String xPath = getXPathBase() + "tr[" + rowIndex + "]"; rowText = HtmlElementUtils.locateElement(xPath).getText(); return rowText; } Table(String locator);  Table(String locator, String controlName);  Table(ParentTraits parent, String locator);  Table(String locator, String controlName, ParentTraits parent); synchronized int getDataStartIndex(); int getNumberOfRows(); int getNumberOfColumns(); int getRowIndex(String[] searchKeys); String getValueFromCell(int row, int column); void clickLinkInCell(int row, int column); String getXPathBase(); String getRowText(int rowIndex); void checkCheckboxInCell(int row, int column); void uncheckCheckboxInCell(int row, int column);  }### Answer:
@Test(groups = { "browser-tests" }) @WebTest public void tableTestGetRowText() { Grid.driver().get(TestServerUtils.getTestEditableURL()); WebDriverWaitUtils.waitUntilElementIsPresent(testTable.getLocator()); assertTrue(testTable.getRowText(1).contains("Date"), "Validate getRowText method"); }