Class NeoProblemWidget
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoProblemWidget
public class NeoProblemWidget extends NeoComponent
Represents an instance of Problem widget popup
from the Global sidebar
TODO add support for filters, ComboFields and Model Link Field
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPONENT_NAME
protected NeoTable
problemTable
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description NeoProblemWidget(NeoUIContext context, org.openqa.selenium.WebElement element)
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>
getProblemHeaders()
Lists all the Header values of the Table displayed on the Problem WidgetNeoTable
getProblemTable()
Gets the component of the Table displayed on the problem widget Contains the Table Header data and Table contentsvoid
openProblem(java.lang.String problemName, java.lang.String severity)
Opens the problem perspective based on the problem name and severity provided Please note the problem count must be non-zero.void
refresh()
Refreshes the problem widget pop-upMethods 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
-
problemTable
-
-
Constructor Details
-
Method Details
-
getProblemTable
Gets the component of the Table displayed on the problem widget Contains the Table Header data and Table contents- Returns:
NeoTable
-
getProblemHeaders
public java.util.List<java.lang.String> getProblemHeaders()Lists all the Header values of the Table displayed on the Problem Widget- Returns:
List
-
openProblem
public void openProblem(java.lang.String problemName, java.lang.String severity)Opens the problem perspective based on the problem name and severity provided Please note the problem count must be non-zero. zero valued elements are non-clickable- Parameters:
problemName
-severity
-
-
refresh
public void refresh()Refreshes the problem widget pop-up
-