public class LspsGrid extends UIComponent
Modifier and Type | Class and Description |
---|---|
static class |
LspsGrid.LspsGridCell
Represents vaadin grid cell.
|
static class |
LspsGrid.LspsGridRow
Represents vaadin grid row element.
|
driver, seleniumElement
Constructor and Description |
---|
LspsGrid(WebElement element,
WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
LspsGrid.LspsGridCell |
getHeaderCell(int rowIndex,
int colIndex)
Returns grid header cell.
|
LspsGrid.LspsGridRow |
getRow(int row)
Returns grid row.
|
LspsGrid.LspsGridRow |
getRowByCellContent(String content)
Finds a row containing required string.
|
List<LspsGrid.LspsGridRow> |
getRows(int... rows)
Returns grid rows.
|
List<LspsGrid.LspsGridRow> |
getRowsByCellContent(String content)
Finds visible rows containing required string.
|
void |
scrollToRow(int index)
Scrolls Grid element so that wanted row is displayed.
|
void |
selectRow(int row)
Select/deselect grid row.
|
void |
selectRows(int... rows)
Select/deselect grid rows.
|
as, click, click, doubleClick, extractedSeleniumIfTestBench, extractedSeleniumIfTestBench, focus, getAttribute, getCaption, getClassNames, getErrorMessage, getHint, getId, getModelingId, getText, hasClassName, isEnabled, isValid, isVisible, rightClick, scrollIntoView, sleep, toHTML, toInnerHTML, toString, webElementsByLspsId
$, actions, clickButton, contains, createIdLocator, findAllByAttributeValue, findAllByClassname, findAllByFormId, findAllById, findAllByIdPrefix, findAllByLspsId, findAllByTextContent, findAllByXpath, findByAttributeValue, findByClassname, findByFormId, findById, findByIdPrefix, findByLspsId, findByTextContent, findByXpath, findCaptionByTextContent, findElement, findElements, findNthByTag, getDriver, getLspsCommandExecutor, waitForVaadin, webElementsByExactTextContent, webElementsByFormId, webElementsById, webElementsByIdPrefix, webElementsByLspsFormId, webElementsByTextContent, webElementsByXpath
public void selectRows(int... rows)
rows
- row indexes to be clicked onpublic void selectRow(int row)
row
- row index to be clicked onpublic LspsGrid.LspsGridCell getHeaderCell(int rowIndex, int colIndex)
rowIndex
- colIndex
- public LspsGrid.LspsGridRow getRow(int row)
row
- public void scrollToRow(int index)
index
- Target rowpublic List<LspsGrid.LspsGridRow> getRows(int... rows)
rows
- public LspsGrid.LspsGridRow getRowByCellContent(String content)
content
- string to look forpublic List<LspsGrid.LspsGridRow> getRowsByCellContent(String content)
content
- string to look forCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.