org.xwiki.test.ui.po.editor
Class ObjectEditPage
java.lang.Object
org.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
org.xwiki.test.ui.po.editor.EditPage
org.xwiki.test.ui.po.editor.ObjectEditPage
public class ObjectEditPage
- extends EditPage
Represents the common actions possible on all Pages when using the "edit" action with the "object" editor.
- Since:
- 3.2M3
- Version:
- $Id: 51aa7ea15825539f269b480c39720673e6e8778b $
| Methods inherited from class org.xwiki.test.ui.po.BasePage |
canDelete, 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 |
ObjectEditPage
public ObjectEditPage()
gotoPage
public static ObjectEditPage gotoPage(String space,
String page)
- Go to the passed page in object edit mode.
addObject
public ObjectEditPane addObject(String className)
addObjectFromInlineLink
public ObjectEditPane addObjectFromInlineLink(String className)
removeAllObjects
public void removeAllObjects(String className)
- Since:
- 4.3M2
deleteObject
public void deleteObject(String className,
int index)
deleteObject
public void deleteObject(org.openqa.selenium.By objectLocator)
- Since:
- 4.3M2
removeAllDeprecatedProperties
public void removeAllDeprecatedProperties()
isPropertyDeprecated
public boolean isPropertyDeprecated(String className,
String propertyName)
- Parameters:
className - a class namepropertyName - a class field name
- Returns:
true if the specified class field is listed as deprecated, false otherwise
getURL
public String getURL(String space,
String page)
getObjectsOfClass
public List<ObjectEditPane> getObjectsOfClass(String className)
- className will look something like "XWiki.XWikiRights"
Copyright © 2004-2013 XWiki. All Rights Reserved.