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 field
    org.openqa.selenium.WebElement getInputEl()
    Returns the web element of textarea field
    java.lang.String getValue()
    Used to get the text value from textarea Field
    void setValue​(java.lang.String val)
    Used to populate the text value passed in as parameter to textArea field

    Methods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent

    getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • NeoTextAreaField

      public NeoTextAreaField​(NeoUIContext context, org.openqa.selenium.WebElement element)
      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 class NeoComponent
      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