Class NeoWidget
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoContainer
com.onenetwork.platform.tools.test.ui.neo.components.NeoWidget
public class NeoWidget extends NeoContainer
This class represents an instance of
NeoWidgets that are present on the
Neo Dashboard
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_NAME
protected java.lang.String
widgetName
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoContainer
ACTIVE_PERSPECTIVE
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description NeoWidget(NeoUIContext context, org.openqa.selenium.WebElement element)
Constructs an instance of NeoWidget and also inits the name of the widget -
Method Summary
Modifier and Type Method Description java.lang.String
getWidgetName()
NeoWidgetFilter
openWidgetFilter()
Clicks on the Filter button and opens the Widget Filter.Methods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoContainer
getAdvancedTable, getButton, getDashboard, getFieldByLabel, getFieldByLabel, getGrid, getGrids, getLink, getNeoMessagePanel, getNeoPivotTable, getNeoTabbedPane, getReport, getReports, getSearchContext, getWindow, isRequired, openFilterPanel, switchDriver
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
-
widgetName
protected java.lang.String widgetName
-
-
Constructor Details
-
NeoWidget
Constructs an instance of NeoWidget and also inits the name of the widget- Parameters:
context
-element
-
-
-
Method Details
-
getWidgetName
public java.lang.String getWidgetName()- Returns:
- the widgetName
-
openWidgetFilter
Clicks on the Filter button and opens the Widget Filter. Returns an instance of NeoWidgetFilter- Returns:
NeoWidgetFilter
-