|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.test.ui.po.BaseElement
org.xwiki.test.ui.po.BasePage
public class BasePage
Represents the common actions possible on all Pages.
| Constructor Summary | |
|---|---|
BasePage()
|
|
| Method Summary | ||
|---|---|---|
protected void |
clickContentMenuEditSubMenuEntry(String id)
Perform a click on a "content menu" sub-menu entry. |
|
protected void |
clickContentMenuTopEntry(String id)
Perform a click on a "content menu" top entry. |
|
protected
|
createInlinePage()
Can be overridden to return extended InlinePage. |
|
void |
edit()
Performs a click on the "edit" entry of the content menu. |
|
ClassEditPage |
editClass()
Performs a click on the "edit class" entry of the content menu. |
|
|
editInline()
Performs a click on the "edit inline" entry of the content menu. |
|
ObjectEditPage |
editObjects()
Performs a click on the "edit objects" entry of the content menu. |
|
RightsEditPage |
editRights()
Performs a click on the "edit acces rights" entry of the content menu. |
|
WikiEditPage |
editWiki()
Performs a click on the "edit wiki" entry of the content menu. |
|
WYSIWYGEditPage |
editWYSIWYG()
Performs a click on the "edit wysiwyg" entry of the content menu. |
|
String |
getEditURL()
Gets a string representation of the URL for editing the page. |
|
String |
getMetaDataValue(String metaName)
|
|
String |
getPageTitle()
|
|
String |
getPageURL()
|
|
boolean |
isAuthenticated()
|
|
boolean |
isNewDocument()
Determine if the current page is a new document. |
|
void |
sendKeys(CharSequence... keys)
|
|
BasePage |
waitUntilPageIsLoaded()
Waits until the page has loaded. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasePage()
| Method Detail |
|---|
public String getPageTitle()
public String getPageURL()
public String getMetaDataValue(String metaName)
public boolean isAuthenticated()
public boolean isNewDocument()
protected void clickContentMenuTopEntry(String id)
id - The id of the entry to followprotected void clickContentMenuEditSubMenuEntry(String id)
id - The id of the entry to followpublic void edit()
public String getEditURL()
public WikiEditPage editWiki()
public WYSIWYGEditPage editWYSIWYG()
public <T extends InlinePage> T editInline()
protected <T extends InlinePage> T createInlinePage()
InlinePage.
public RightsEditPage editRights()
public ObjectEditPage editObjects()
public ClassEditPage editClass()
public void sendKeys(CharSequence... keys)
public BasePage waitUntilPageIsLoaded()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||