Class NotifierButton
java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.Button
com.onenetwork.platform.tools.test.ui.components.NotifierButton
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
-
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
-
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
-