public class WikiPage extends SitePage
| Modifier and Type | Class and Description |
|---|---|
static class |
WikiPage.FONT_ATTR |
static class |
WikiPage.ImageType |
static class |
WikiPage.Mode |
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, PROMPT_PANEL_ID, WAIT_TIME_3000| Constructor and Description |
|---|
WikiPage(org.alfresco.webdrone.WebDrone drone) |
| Modifier and Type | Method and Description |
|---|---|
void |
clickFontSize()
Click on Font size button on wiki text formatter.
|
void |
clickFontStyle()
Click Font Style button on wiki text formatter.
|
void |
clickImageOfLibrary()
Click to view images library.
|
void |
clickOnNewPage()
click on new wiki page.
|
void |
clickOnRemoveFormatting()
Click on remove format button.
|
WikiPage |
clickSaveButton()
click on save button to save wiki text.
|
void |
copyImageFromLib()
Copy Image using CTRL+C
|
void |
createWikiPageTitle(String wikiTitle)
Create wiki page title.
|
void |
deleteWiki()
Delete wiki page created.
|
WikiPage |
editWikiPage()
Edit Wiki Page.
|
String |
getFontAttributeValue(WikiPage.FONT_ATTR type) |
TinyMceEditor |
getTinyMCEEditor()
Get TinyMCEEditor object to navigate TinyMCE functions.
|
int |
imageCount(WikiPage.Mode mode)
Check if image is rendered in wiki text area.
|
void |
insertText(List<String> txtLines)
Insert text in wiki text area.
|
boolean |
isImageLibraryDisplayed()
Check for image library is displayed.
|
boolean |
isTinyMCEDisplayed()
Check content tool bar is displayed.
|
boolean |
isWikiPageDisplayed()
Check if wiki page is displayed or not.
|
void |
pasteImageOnEditor()
Pasting image using CTRL+V
|
WikiPage |
render() |
WikiPage |
render(long time) |
WikiPage |
render(org.alfresco.webdrone.RenderTime timer) |
String |
retrieveWikiText(String type)
Retrieve formatted wiki text.
|
String |
verifyEditText(String type) |
getSiteNav, isSite, isSitePagebasicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getPopupRendertime, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, setAlfrescoVersion, setElementWaitInSeconds, setPopupRendertime, submit, waitForFile, waitForFile, waitForFilepublic WikiPage render(org.alfresco.webdrone.RenderTime timer)
public WikiPage render()
public WikiPage render(long time)
public boolean isWikiPageDisplayed()
public boolean isTinyMCEDisplayed()
public void clickOnNewPage()
public void createWikiPageTitle(String wikiTitle)
wikiTitle - public void insertText(List<String> txtLines)
txtLines - public void clickFontStyle()
public void clickFontSize()
public String retrieveWikiText(String type)
type - public boolean isImageLibraryDisplayed()
public WikiPage clickSaveButton()
public void clickOnRemoveFormatting()
public void clickImageOfLibrary()
public int imageCount(WikiPage.Mode mode)
public void deleteWiki()
public TinyMceEditor getTinyMCEEditor()
public void copyImageFromLib()
public void pasteImageOnEditor()
public WikiPage editWikiPage()
public String getFontAttributeValue(WikiPage.FONT_ATTR type)
type - Copyright © 2013. All Rights Reserved.