public class CrudElement extends TestBenchElement
Constructor and Description |
---|
CrudElement() |
Modifier and Type | Method and Description |
---|---|
TestBenchElement |
getEditor()
Gets the open editor overlay
|
ButtonElement |
getEditorCancelButton()
Gets the editor cancel button
|
ButtonElement |
getEditorDeleteButton()
Gets the editor delete button
|
ButtonElement |
getEditorSaveButton()
Gets the editor save button
|
List<TextFieldElement> |
getFilterFields()
Gets the filter fields if the Crud built-in Grid is being used with filters enabled
|
GridElement |
getGrid()
Gets the crud grid
|
Optional<TestBenchElement> |
getNewItemButton()
Gets the new item button
|
List<TestBenchElement> |
getToolbar()
Gets the toolbar content.
|
boolean |
isEditorOpen()
Checks if an editor overlay is open
|
void |
openRowForEditing(int row)
Opens a grid row for editing using the CRUD edit button on that row
|
callFunction, clear, click, click, compareScreen, compareScreen, compareScreen, contextClick, dispatchEvent, doubleClick, equals, executeScript, findElement, findElements, focus, getAttribute, getCapabilities, getClassNames, getCommandExecutor, getContext, getCssValue, getDriver, getLocation, getProperty, getPropertyBoolean, getPropertyDouble, getPropertyElement, getPropertyElements, getPropertyInteger, getPropertyString, getRect, getScreenshotAs, getSize, getTagName, getText, getWrappedElement, hasAttribute, hasClassName, hashCode, init, init, isChrome, isDisplayed, isEnabled, isFirefox, isIE, isSelected, scroll, scrollIntoView, scrollLeft, sendKeys, setProperty, setProperty, setProperty, setProperty, submit, waitForVaadin, waitUntil, waitUntil, wrap, wrapElement, wrapElements
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
$, $
public GridElement getGrid()
public Optional<TestBenchElement> getNewItemButton()
public List<TextFieldElement> getFilterFields()
public List<TestBenchElement> getToolbar()
public void openRowForEditing(int row)
row
- the row to open for editingpublic ButtonElement getEditorSaveButton()
public ButtonElement getEditorCancelButton()
public ButtonElement getEditorDeleteButton()
public boolean isEditorOpen()
public TestBenchElement getEditor()
Copyright © 2018. All rights reserved.