public class Table extends InteractiveElement implements ITable
Element.HIGHLIGHT_MODES| Constructor and Description | 
|---|
Table(org.openqa.selenium.By locator)  | 
Table(String locator)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getRowNumber(Map<String,String> item)
Implementing this element would allow for getting the row number in a
 table that contains specific information 
 | 
int | 
getTableColumnCount()
Implementing this method would allow for getting the total number of
 columns in the table 
 | 
List<String[]> | 
getTableDataInArray()
Retrieves the entire HTML table data within tbody (visible data) 
 | 
List<Map<String,String>> | 
getTableDataInMap()
Implementing this method would allow for getting all of text in the table
 as a map 
 | 
List<String> | 
getTableHeaders()
Implementing this method would allow for obtaining all of the headers in
 a table 
 | 
String | 
getTableRowColumnData(int rowNumber,
                     int columnNumber)
Implementing this method would allow for getting data from a specific
 cell in the table 
 | 
int | 
getTableRowCount()
Implementing this method would allow for getting the total number of rows
 in the table 
 | 
boolean | 
isItemExist(Map<String,String> item)
Implementing this method would allow for checking the table to see if an
 item is present in a table 
 | 
click, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, getLabel, getValue, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, type, typeAppendeval, findElement, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getGUIDriver, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, setGUIDriver, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForCommand, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclick, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, type, typeAppendgetLabel, getValueeval, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisiblepublic Table(String locator) throws WidgetException
locator - XPath, ID, name, CSS Selector, class name, or tag nameWidgetExceptionpublic Table(org.openqa.selenium.By locator)
      throws WidgetException
locator - XPath, ID, name, CSS Selector, class name, or tag nameWidgetExceptionpublic List<String> getTableHeaders() throws WidgetException
ITablegetTableHeaders in interface ITableWidgetExceptionpublic String getTableRowColumnData(int rowNumber, int columnNumber) throws WidgetException
ITablegetTableRowColumnData in interface ITablerowNumber - - the desired row in the tablecolumnNumber - - the desired column in the tableWidgetExceptionpublic List<String[]> getTableDataInArray() throws WidgetException
getTableDataInArray in interface ITableWidgetExceptionpublic List<Map<String,String>> getTableDataInMap() throws WidgetException
ITablegetTableDataInMap in interface ITableWidgetExceptionpublic int getTableRowCount()
                     throws WidgetException
ITablegetTableRowCount in interface ITableWidgetExceptionpublic boolean isItemExist(Map<String,String> item) throws WidgetException
ITableisItemExist in interface ITableitem - - the mapWidgetExceptionpublic int getRowNumber(Map<String,String> item) throws WidgetException
ITablegetRowNumber in interface ITableitem - - a map used to check against each row until a match is foundWidgetExceptionpublic int getTableColumnCount()
                        throws WidgetException
ITablegetTableColumnCount in interface ITableWidgetExceptionCopyright © 2018. All rights reserved.