Class NeoComponent
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
- Direct Known Subclasses:
FMConditionalFormatWindow
,FMConditionalFormatWindow.FMConditionalRow
,FMFiltersSubview
,FMFilterTable
,FMFilterWindow
,NeoAction
,NeoAddressTriggerField
,NeoAdvancedTable
,NeoAlertInboxSlideout
,NeoAlertWidget
,NeoAttachmentsField
,NeoBooleanField
,NeoButton
,NeoCheckBoxGroupField
,NeoComboField
,NeoCompositeField
,NeoContainer
,NeoDateRangeField
,NeoDisplayField
,NeoDurationField
,NeoGenericModelLinkField
,NeoHyperlink
,NeoMessagePanel
,NeoModelLinkField
,NeoProblemDetails
,NeoProblemWidget
,NeoRadioGroupField
,NeoTable
,NeoTextAreaField
,NeoTextField
,NeoToggleField
,NeoUserProfile
,PivotFieldsWindow
public abstract class NeoComponent
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected NeoUIContext
context
protected org.openqa.selenium.WebDriver
driver
protected org.openqa.selenium.WebElement
element
-
Constructor Summary
Constructors Constructor Description NeoComponent(NeoUIContext context, org.openqa.selenium.WebElement element)
-
Method Summary
Modifier and Type Method Description org.openqa.selenium.WebElement
getEl()
java.lang.String
getFieldErrorMessage(java.lang.String label)
This method is used to get the tool tip message from field error iconjava.lang.String
getTooltipMessage(org.openqa.selenium.WebElement hoverElement)
This method is used to get the tooltip messageboolean
isDisplayed()
void
setMultipleValues(java.lang.String... input)
void
setValue(java.lang.String input)
-
Field Details
-
Constructor Details
-
Method Details
-
getEl
public org.openqa.selenium.WebElement getEl() -
isDisplayed
public boolean isDisplayed() -
getFieldErrorMessage
public java.lang.String getFieldErrorMessage(java.lang.String label)This method is used to get the tool tip message from field error icon- Parameters:
label
-
-
getTooltipMessage
public java.lang.String getTooltipMessage(org.openqa.selenium.WebElement hoverElement)This method is used to get the tooltip message- Parameters:
hoverElement
-
-
setValue
public void setValue(java.lang.String input) -
setMultipleValues
public void setMultipleValues(java.lang.String... input)
-