org.xwiki.ircbot.test.po
Class IRCBotBotPage

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.IRCBotBotPage

public class IRCBotBotPage
extends ViewPage

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

Since:
4.0M2
Version:
$Id: a98afaa7feeba64adddf30a72b6bcd9ee1eb8f3d $

Constructor Summary
IRCBotBotPage()
           
 
Method Summary
 void clickActionButton()
          Clicks the Bot action button (either starts or stops the Bot).
 boolean containsListener(String botListenerName)
           
static IRCBotBotPage gotoPage()
          Opens the IRC Bot page.
 boolean isBotListenerStarted(String botListenerName)
           
 boolean isBotStarted()
           
 
Methods inherited from class org.xwiki.test.ui.po.ViewPage
clickBreadcrumbLink, clickWantedLink, editSection, exists, getBreadcrumbContent, getContent, hasBreadcrumbContent, isInlinePage, openAttachmentsDocExtraPane, openCommentsDocExtraPane, openHistoryDocExtraPane, waitForDocExtraPaneActive, waitUntilContent
 
Methods inherited from class org.xwiki.test.ui.po.BasePage
canDelete, clickContentMenuEditSubMenuEntry, clickContentMenuTopEntry, copy, createInlinePage, createPage, createSpace, delete, edit, editClass, editInline, editObjects, editRights, editWiki, editWYSIWYG, getCurrentUser, getDocumentTitle, getEditURL, getMetaDataValue, getPageMenuLink, getPageTitle, getPageURL, hasLoginLink, isAuthenticated, isNewDocument, login, logout, register, sendKeys, waitUntilPageIsLoaded, watchDocument, watchSpace
 
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

IRCBotBotPage

public IRCBotBotPage()
Method Detail

gotoPage

public static IRCBotBotPage 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-2013 XWiki. All Rights Reserved.