Class NeoProblemDetails
java.lang.Object
com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
com.onenetwork.platform.tools.test.ui.neo.components.NeoProblemDetails
public class NeoProblemDetails extends NeoComponent
Represents an instance of Problem summary row.
used in the NEO UI
TODO support for tooltip.
-
Field Summary
Fields Modifier and Type Field Description protected NeoBooleanField
checkBoxComponent
static java.lang.String
COMPONENT_NAME
protected NeoAction
neoAction
Fields inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent
context, driver, element
-
Constructor Summary
Constructors Constructor Description NeoProblemDetails(NeoUIContext context, org.openqa.selenium.WebElement element)
Initialize the context, action and check box component. -
Method Summary
Modifier and Type Method Description void
clickOnCollaboration()
Perform click action on collaboration button.void
escalate()
It escalate selected problem.void
expand()
Expand the problem.NeoAction
getAction()
Returns Neo action component.NeoBooleanField
getCheckBox()
Return Check Box component.java.lang.String
getCollaborationButtonToolTip()
Return collaboration button tool tip.java.lang.String
getProblemId()
Return problem id.java.lang.String
getProblemName()
Return problem name.java.lang.String
getProblemState()
Return problem state.java.lang.String
getProblemStateIconToolTip()
Return problem state icon tool tip.java.lang.String
getProblemType()
Return problem type.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
-
checkBoxComponent
-
neoAction
-
-
Constructor Details
-
NeoProblemDetails
Initialize the context, action and check box component.- Parameters:
context
-element
-
-
-
Method Details
-
getCheckBox
Return Check Box component.- Returns:
-
getProblemType
public java.lang.String getProblemType()Return problem type.- Returns:
-
expand
public void expand()Expand the problem. -
escalate
public void escalate()It escalate selected problem. -
getProblemName
public java.lang.String getProblemName()Return problem name.- Returns:
-
getProblemId
public java.lang.String getProblemId()Return problem id.- Returns:
-
getProblemState
public java.lang.String getProblemState()Return problem state.- Returns:
-
getProblemStateIconToolTip
public java.lang.String getProblemStateIconToolTip()Return problem state icon tool tip.- Returns:
-
getAction
Returns Neo action component.- Returns:
- NeoAction
-
clickOnCollaboration
public void clickOnCollaboration()Perform click action on collaboration button. -
getCollaborationButtonToolTip
public java.lang.String getCollaborationButtonToolTip()Return collaboration button tool tip.- Returns:
-