org.xwiki.ircbot.test.po
Class IRCBotPage

java.lang.Object
  extended by org.xwiki.test.ui.po.BaseElement
      extended by org.xwiki.test.ui.po.BasePage
          extended by org.xwiki.test.ui.po.ViewPage
              extended by org.xwiki.ircbot.test.po.IRCBotPage

public class IRCBotPage
extends ViewPage

Represents actions that can be done on the IRC.IRCBot page.

Since:
4.0M2
Version:
$Id$

Constructor Summary
IRCBotPage()
           
 
Method Summary
 void clickActionButton()
          Clicks the Bot action button (either starts or stops the Bot).
 boolean containsListener(String botListenerName)
           
static IRCBotPage gotoPage()
          Opens the IRC Bot page.
 boolean isBotListenerStarted(String botListenerName)
           
 boolean isBotStarted()
           
 
Methods inherited from class org.xwiki.test.ui.po.ViewPage
canDelete, clickBreadcrumbLink, clickWantedLink, copy, createPage, createSpace, delete, editSection, exists, getBreadcrumbContent, getContent, getCurrentUser, getDocumentTitle, hasBreadcrumbContent, hasLoginLink, isInlinePage, login, logout, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, register, waitForDocExtraPaneActive, waitUntilContent, watchDocument, watchSpace
 
Methods inherited from class org.xwiki.test.ui.po.BasePage
clickContentMenuEditSubMenuEntry, clickContentMenuTopEntry, createInlinePage, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getEditURL, getMetaDataValue, getPageTitle, getPageURL, hoverOverMenu, isAuthenticated, isNewDocument, sendKeys, waitUntilPageIsLoaded
 
Methods inherited from class org.xwiki.test.ui.po.BaseElement
executeJavascript, getDriver, getUtil, makeAlertDialogSilent, makeConfirmDialogSilent, makeElementVisible, makeElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilElementDisappears, waitUntilElementEndsWithAttributeValue, waitUntilElementHasAttributeValue, waitUntilElementHasTextContent, waitUntilElementIsVisible, waitUntilElementsAreVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IRCBotPage

public IRCBotPage()
Method Detail

gotoPage

public static IRCBotPage gotoPage()
Opens the IRC Bot page.


clickActionButton

public void clickActionButton()
Clicks the Bot action button (either starts or stops the Bot).


isBotStarted

public boolean isBotStarted()
Returns:
true if the bot is started or false otherwise

isBotListenerStarted

public boolean isBotListenerStarted(String botListenerName)
Parameters:
botListenerName - the name of the listener bot (eg "Log")
Returns:
true if the bot is displayed as started or false otherwise

containsListener

public boolean containsListener(String botListenerName)
Parameters:
botListenerName - the name of the listener bot (eg "Log")
Returns:
true if the bot is displayed in the listener table


Copyright © 2004-2012 XWiki. All Rights Reserved.