public class Input extends InteractiveElement implements ITextField
Element.HIGHLIGHT_MODES| Constructor and Description |
|---|
Input(org.openqa.selenium.By locator) |
Input(String locator) |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Throw Unsupported Operation exception if getValue() on Interactive element is invoked
|
void |
setValue(Object value)
Implementing this method for an editable element would allow for setting
the
|
void |
typeAppend(String text)
Implementing this method would allow for appending to an already typed
value
|
click, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, getLabel, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, typeeval, findElement, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getGUIDriver, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, setGUIDriver, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForCommand, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclick, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, typegetLabeleval, 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, waitForVisiblepublic Input(String locator)
public Input(org.openqa.selenium.By locator)
locator - public void setValue(Object value) throws WidgetException
IEditableElementsetValue in interface IEditableElementvalue - - the value that the editable elementWidgetExceptionpublic String getValue() throws WidgetException
InteractiveElementgetValue in interface IReadableElementgetValue in class InteractiveElementWidgetExceptionpublic void typeAppend(String text) throws WidgetException
IInteractiveElementtypeAppend in interface IInteractiveElementtypeAppend in interface ITextFieldtypeAppend in class InteractiveElementtext - Text to appendWidgetExceptionCopyright © 2018. All rights reserved.