Class NotifierButton

java.lang.Object

public class NotifierButton
extends Button
Represents a special instance of Ext.Button. NotifierButton is a special kind of button which includes a notifier icon that will display the number of unread messages.
  • Field Summary

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

    context, driver, element
  • Constructor Summary

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

    Modifier and Type Method Description
    org.openqa.selenium.WebElement getNotifierCounter()
    Returns displayed notifier counter for this Button.
    org.openqa.selenium.WebElement getNotifierCounter​(boolean checkDisplayed)
    Returns notifier counter for this Button.

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

    click, isDisabled

    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
  • Constructor Details

  • Method Details

    • getNotifierCounter

      public org.openqa.selenium.WebElement getNotifierCounter​(boolean checkDisplayed)
      Returns notifier counter for this Button.
      Parameters:
      checkDisplayed - - iff false, it returns non-displayed notifier.
      Returns:
      notifier counter
    • getNotifierCounter

      public org.openqa.selenium.WebElement getNotifierCounter()
      Returns displayed notifier counter for this Button.
      Returns:
      notifier counter