org.xwiki.test.ui.po.editor
Class ClassEditPage

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.editor.ClassEditPage

public class ClassEditPage
extends BasePage

Represents the common actions possible on all Pages when using the "edit" action with the "class" editor.

Since:
3.2M3
Version:
$Id: 803b3027bd887a1ce69d4aa9d7f38ec86947ffed $

Constructor Summary
ClassEditPage()
           
 
Method Summary
 ClassPropertyEditPane addProperty(String propertyName, String propertyType)
           
 void addPropertyWithoutWaiting(String propertyName, String propertyType)
           
 ViewPage clickCancel()
           
 void clickSaveAndContinue()
           
 ViewPage clickSaveAndView()
           
 void deleteProperty(String propertyName)
           
 DatabaseListClassEditElement getDatabaseListClassEditElement(String propertyName)
           
 NumberClassEditElement getNumberClassEditElement(String propertyName)
           
 ClassPropertyEditPane getPropertyEditPane(String propertyName)
          Use this method if you need to set generic meta-properties (common to all XClass property types).
 StaticListClassEditElement getStaticListClassEditElement(String propertyName)
           
static ClassEditPage gotoPage(String space, String page)
          Go to the passed page in object edit mode.
 
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

ClassEditPage

public ClassEditPage()
Method Detail

gotoPage

public static ClassEditPage gotoPage(String space,
                                     String page)
Go to the passed page in object edit mode.


addProperty

public ClassPropertyEditPane addProperty(String propertyName,
                                         String propertyType)

addPropertyWithoutWaiting

public void addPropertyWithoutWaiting(String propertyName,
                                      String propertyType)
Since:
3.2M3

deleteProperty

public void deleteProperty(String propertyName)

getPropertyEditPane

public ClassPropertyEditPane getPropertyEditPane(String propertyName)
Use this method if you need to set generic meta-properties (common to all XClass property types). For specific meta-properties use the methods dedicated to each XClass property type.

Parameters:
propertyName - the name of a property of this class
Returns:
the pane used to edit the specified property
Since:
4.5

getDatabaseListClassEditElement

public DatabaseListClassEditElement getDatabaseListClassEditElement(String propertyName)

getStaticListClassEditElement

public StaticListClassEditElement getStaticListClassEditElement(String propertyName)

getNumberClassEditElement

public NumberClassEditElement getNumberClassEditElement(String propertyName)

clickSaveAndContinue

public void clickSaveAndContinue()

clickSaveAndView

public ViewPage clickSaveAndView()

clickCancel

public ViewPage clickCancel()


Copyright © 2004-2013 XWiki. All Rights Reserved.