org.xwiki.administration.test.po
Class AdministrationPage

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.administration.test.po.AdministrationPage

public class AdministrationPage
extends ViewPage

Represents the actions possible on the main Administration Page.

Since:
4.2M1
Version:
$Id: 7f04827c412ec481a75369c281bf788bbdf8ebc4 $

Constructor Summary
AdministrationPage()
           
 
Method Summary
 AnnotationsPage clickAnnotationsSection()
           
 GlobalRightsAdministrationSectionPage clickGlobalRightsSection()
           
 ImportAdministrationSectionPage clickImportSection()
           
 LocalizationAdministrationSectionPage clickLocalizationSection()
           
 PageElementsAdministrationSectionPage clickPageElementsSection()
          Opens the "Page Elements" administration section.
 AdministrationSectionPage clickRegistrationSection()
           
 UsersAdministrationSectionPage clickUsersSection()
           
 WYSIWYGEditorAdministrationSectionPage clickWYSIWYGEditorSection()
           
static AdministrationPage gotoPage()
           
 boolean hasNotSection(String sectionName)
           
 boolean hasSection(String sectionName)
           
 AdministrationPage selectSpaceToAdminister(String spaceName)
          Select the space to administer.
 
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, 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

AdministrationPage

public AdministrationPage()
Method Detail

gotoPage

public static AdministrationPage gotoPage()

clickLocalizationSection

public LocalizationAdministrationSectionPage clickLocalizationSection()

clickImportSection

public ImportAdministrationSectionPage clickImportSection()

clickRegistrationSection

public AdministrationSectionPage clickRegistrationSection()

clickUsersSection

public UsersAdministrationSectionPage clickUsersSection()

clickGlobalRightsSection

public GlobalRightsAdministrationSectionPage clickGlobalRightsSection()

clickAnnotationsSection

public AnnotationsPage clickAnnotationsSection()

clickWYSIWYGEditorSection

public WYSIWYGEditorAdministrationSectionPage clickWYSIWYGEditorSection()

clickPageElementsSection

public PageElementsAdministrationSectionPage clickPageElementsSection()
Opens the "Page Elements" administration section.

Returns:
the "Page Elements" administration section

hasSection

public boolean hasSection(String sectionName)

hasNotSection

public boolean hasNotSection(String sectionName)

selectSpaceToAdminister

public AdministrationPage selectSpaceToAdminister(String spaceName)
Select the space to administer. Note that caller of the API need to wait for the page to be loaded since the selection of the page is done asynchronously with JS.



Copyright © 2004-2012 XWiki. All Rights Reserved.