Class NeoTextAreaField
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoTextAreaField
public class NeoTextAreaField extends NeoComponent
Represents an instance of the textarea field
on the NEO UI
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_NAME
protected org.openqa.selenium.WebElement
textAreaElement
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description NeoTextAreaField(NeoUIContext context, org.openqa.selenium.WebElement element)
-
Method Summary
Modifier and Type Method Description void
clear()
Clears the value from textarea fieldorg.openqa.selenium.WebElement
getInputEl()
Returns the web element of textarea fieldjava.lang.String
getValue()
Used to get the text value from textarea Fieldvoid
setValue(java.lang.String val)
Used to populate the text value passed in as parameter to textArea fieldMethods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues
-
Field Details
-
COMPONENT_NAME
public static final java.lang.String COMPONENT_NAME- See Also:
- Constant Field Values
-
textAreaElement
protected org.openqa.selenium.WebElement textAreaElement
-
-
Constructor Details
-
NeoTextAreaField
- Parameters:
context
-element
-
-
-
Method Details
-
setValue
public void setValue(java.lang.String val)Used to populate the text value passed in as parameter to textArea field- Overrides:
setValue
in classNeoComponent
- Parameters:
val
-
-
getValue
public java.lang.String getValue()Used to get the text value from textarea Field -
clear
public void clear()Clears the value from textarea field -
getInputEl
public org.openqa.selenium.WebElement getInputEl()Returns the web element of textarea field
-