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: a5e074a4c892f81de645553aebac92e566deacfd $

Constructor Summary
ClassEditPage()
           
 
Method Summary
 void 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)
           
 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
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

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 void addProperty(String propertyName,
                        String propertyType)

addPropertyWithoutWaiting

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

deleteProperty

public void deleteProperty(String propertyName)

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.