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, typeAppend
getLabel, getValue
eval, 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, waitForVisible
List<String> getTableHeaders() throws WidgetException
WidgetException
String getTableRowColumnData(int rowNumber, int columnNumber) throws WidgetException
rowNumber
- - the desired row in the tablecolumnNumber
- - the desired column in the tableWidgetException
List<String[]> getTableDataInArray() throws WidgetException
WidgetException
List<Map<String,String>> getTableDataInMap() throws WidgetException
WidgetException
int getTableRowCount() throws WidgetException
WidgetException
int getTableColumnCount() throws WidgetException
WidgetException
boolean isItemExist(Map<String,String> item) throws WidgetException
item
- - the mapWidgetException
int getRowNumber(Map<String,String> item) throws WidgetException
item
- - a map used to check against each row until a match is foundWidgetException
Copyright © 2018. All rights reserved.