public interface ITable extends IInteractiveElement
| 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()
Implementing this method would allow for getting all of the values in
table
|
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, 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, waitForVisibleList<String> getTableHeaders() throws WidgetException
WidgetExceptionString getTableRowColumnData(int rowNumber, int columnNumber) throws WidgetException
rowNumber - - the desired row in the tablecolumnNumber - - the desired column in the tableWidgetExceptionList<String[]> getTableDataInArray() throws WidgetException
WidgetExceptionList<Map<String,String>> getTableDataInMap() throws WidgetException
WidgetExceptionint getTableRowCount()
throws WidgetException
WidgetExceptionint getTableColumnCount()
throws WidgetException
WidgetExceptionboolean isItemExist(Map<String,String> item) throws WidgetException
item - - the mapWidgetExceptionint getRowNumber(Map<String,String> item) throws WidgetException
item - - a map used to check against each row until a match is foundWidgetExceptionCopyright © 2018. All rights reserved.