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 Widget
    NeoTable getProblemTable()
    Gets the component of the Table displayed on the problem widget Contains the Table Header data and Table contents
    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.
    void refresh()
    Refreshes the problem widget pop-up

    Methods inherited from class com.onenetwork.platform.tools.test.ui.neo.components.NeoComponent

    getEl, getFieldErrorMessage, getTooltipMessage, isDisplayed, setMultipleValues, setValue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getProblemTable

      public NeoTable 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