Class NeoDateRangeField
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoDateRangeField
public class NeoDateRangeField extends NeoComponent
Represents the date range react components.
This consists of two elements: fromDate and toDate
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_NAME
protected NeoDateTimeField
fromDateField
protected NeoDateTimeField
toDateField
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description NeoDateRangeField(NeoUIContext context, org.openqa.selenium.WebElement element)
Constructor for NeoDateRangeField Initializes the toDate and fromDate selenium WebElements -
Method Summary
Modifier and Type Method Description NeoDateTimeField
getFromDateField()
NeoDateTimeField
getToDateField()
Methods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues, setValue
-
Field Details
-
fromDateField
-
toDateField
-
COMPONENT_NAME
public static final java.lang.String COMPONENT_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
NeoDateRangeField
Constructor for NeoDateRangeField Initializes the toDate and fromDate selenium WebElements- Parameters:
context
-element
-
-
-
Method Details
-
getFromDateField
- Returns:
- the fromDateField
-
getToDateField
- Returns:
- the toDateField
-