org.xwiki.test.ui.po
Class CopyPage

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.test.ui.po.CopyPage

public class CopyPage
extends ViewPage

Represents the common actions possible on the Copy Page page.

Since:
3.2M3
Version:
$Id: 241803e4d1d1dfaf841d5e18fc206593ee55e560 $

Constructor Summary
CopyPage()
           
 
Method Summary
 CopyConfirmationPage clickCopyButton()
          Submit the copy page form.
 void setTargetPageName(String targetPageName)
          Sets the name of the target page.
 void setTargetSpaceName(String targetSpaceName)
          Sets the name of the space where the page should be copied.
 
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

CopyPage

public CopyPage()
Method Detail

setTargetSpaceName

public void setTargetSpaceName(String targetSpaceName)
Sets the name of the space where the page should be copied.

Parameters:
targetSpaceName - the name of the space where the page should be copied

setTargetPageName

public void setTargetPageName(String targetPageName)
Sets the name of the target page.

Parameters:
targetPageName - the name of the target page

clickCopyButton

public CopyConfirmationPage clickCopyButton()
Submit the copy page form.

Returns:
the confirmation page


Copyright © 2004-2013 XWiki. All Rights Reserved.