T
- the property value typepublic class EditablePropertyPane<T> extends BaseElement
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebElement |
cancelButton |
protected org.openqa.selenium.WebElement |
editButton |
protected org.openqa.selenium.WebElement |
editor |
protected org.openqa.selenium.WebElement |
element |
protected org.openqa.selenium.WebElement |
saveButton |
protected org.openqa.selenium.WebElement |
viewer |
Constructor and Description |
---|
EditablePropertyPane(String property) |
Modifier and Type | Method and Description |
---|---|
EditablePropertyPane<T> |
clickCancel() |
EditablePropertyPane<T> |
clickEdit() |
EditablePropertyPane<T> |
clickSave() |
String |
getDisplayValue() |
String |
getLabel() |
T |
getValue() |
EditablePropertyPane<T> |
setValue(T value)
Sets the property value while the property is being edited.
|
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
protected final org.openqa.selenium.WebElement element
protected final org.openqa.selenium.WebElement viewer
protected final org.openqa.selenium.WebElement editor
protected final org.openqa.selenium.WebElement editButton
protected final org.openqa.selenium.WebElement cancelButton
protected final org.openqa.selenium.WebElement saveButton
public EditablePropertyPane(String property)
public EditablePropertyPane<T> clickEdit()
public EditablePropertyPane<T> clickCancel()
public EditablePropertyPane<T> clickSave()
public String getLabel()
public String getDisplayValue()
public T getValue()
public EditablePropertyPane<T> setValue(T value)
value
- the new property valueCopyright © 2004–2022 XWiki. All rights reserved.