Class NeoDisplayField

java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoDisplayField

public class NeoDisplayField
extends NeoComponent
This class represents the NeoDisplay Field. This field can be used to get the value of the display field by using the label.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String COMPONENT_NAME  

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

    context, driver, element
  • Constructor Summary

    Constructors 
    Constructor Description
    NeoDisplayField​(NeoUIContext context, org.openqa.selenium.WebElement element)
    A constructor of class NeoDisplayField that accepts the NeoUIContext and the root WebElement.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getValue()
    This method returns the display value for the particular field in the current container.

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

    getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues, setValue

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • NeoDisplayField

      public NeoDisplayField​(NeoUIContext context, org.openqa.selenium.WebElement element)
      A constructor of class NeoDisplayField that accepts the NeoUIContext and the root WebElement.
      Parameters:
      context -
      element -
  • Method Details

    • getValue

      public java.lang.String getValue()
      This method returns the display value for the particular field in the current container. The field can be obtained using the method {@link NeoContainer.getFieldByLabel(String label)}
      Returns: