Class MessagePanel

java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.MessagePanel

public class MessagePanel
extends Component
Represents an instance of One.MessagePanel.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  MessagePanel.MessageType
    Enumeration of SUCCESS, ERROR and WARNING
  • Field Summary

    Fields inherited from class com.onenetwork.platform.tools.test.ui.components.Component

    context, driver, element
  • Constructor Summary

    Constructors 
    Constructor Description
    MessagePanel​(UIContext context, org.openqa.selenium.WebElement panelEl)  
  • Method Summary

    Modifier and Type Method Description
    protected org.openqa.selenium.WebElement getInnerPanelEl()  
    java.lang.String getMessage()  
    MessagePanel.MessageType getMessageType()  
    protected org.openqa.selenium.WebElement getTextPanelEl()  
    void hide()  
    boolean isVisible()
    Checks visibility by checking for presence of 'x-hide-display' class.

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

    getEl, getId, isDisplayed, isRequired

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait