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 classNeoDisplayField
that accepts the NeoUIContext and the rootWebElement
. -
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
-
Field Details
-
COMPONENT_NAME
public static final java.lang.String COMPONENT_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
NeoDisplayField
A constructor of classNeoDisplayField
that accepts the NeoUIContext and the rootWebElement
.- 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:
-