com.atlassian.confluence.pageobjects.component
Class AuiMessage

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.AuiMessage
All Implemented Interfaces:
PageComponent

public class AuiMessage
extends ConfluenceAbstractPageComponent

Page component for AUI Messages. Will look for the first AUI message it can find unless you specify a By locator.


Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, waiter
 
Constructor Summary
AuiMessage()
           
AuiMessage(org.openqa.selenium.By context)
           
 
Method Summary
 boolean containsMessage(java.lang.String message)
          Checks whether the AUI message contains the exact String given.
 java.util.List<java.lang.String> getMessages()
          Returns all messages produced by the AUI message.
 void setMessageContainer()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuiMessage

public AuiMessage()

AuiMessage

public AuiMessage(org.openqa.selenium.By context)
Method Detail

setMessageContainer

public void setMessageContainer()

getMessages

public java.util.List<java.lang.String> getMessages()
Returns all messages produced by the AUI message.

Returns:

containsMessage

public boolean containsMessage(java.lang.String message)
Checks whether the AUI message contains the exact String given.

Parameters:
message -
Returns:


Copyright © 2003-2014 Atlassian. All Rights Reserved.