public class EditInGoogleDocsPage extends SitePage
| Modifier and Type | Field and Description |
|---|---|
protected static org.openqa.selenium.By |
BUTTON_SAVE_TO_ALFRESCO |
dojoSupport, PROMPT_PANEL_ID, WAIT_TIME_3000drone, elementWaitInSeconds, maxPageLoadingTime, popupRendertime, version| Modifier | Constructor and Description |
|---|---|
|
EditInGoogleDocsPage(WebDrone drone)
Constructor used by SharePageFactory
|
|
EditInGoogleDocsPage(WebDrone drone,
Boolean isGoogleCreate)
Constructor.
|
protected |
EditInGoogleDocsPage(WebDrone drone,
String documentVersion,
Boolean isGoogleCreate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
edit(String content)
Switch to the frame to edit the document in google docs.
|
String |
getDocumentTitle()
Title of the document inside Google Docs.
|
boolean |
isBackToSharevisible()
Verify if WebElement back to Share "<" visible.
|
boolean |
isDiscardChangesVisible()
Verify if WebElement Discard Changes is visible.
|
boolean |
isGoogleDocsIframeVisible()
Verify if WebElement back to Share "<" visible.
|
boolean |
isSaveToAlfrescoVisible()
Verify if WebElement Save To Alfresco is visible.
|
GoogleDocsRenamePage |
renameDocumentTitle()
Rename the document inside Google Docs.
|
EditInGoogleDocsPage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
EditInGoogleDocsPage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
EditInGoogleDocsPage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
HtmlPage |
selectBackToShare()
Selects the save to Alfresco button that triggers the form submit.
|
GoogleDocsDiscardChanges |
selectDiscard()
Select Discard Changes button.
|
HtmlPage |
selectSaveToAlfresco()
Selects the save to Alfresco button that triggers the form submit.
|
void |
setGoogleCreate(boolean isGoogleCreate) |
getSiteNav, isSite, isSitePagebasicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, submit, waitForFile, waitForFile, waitForFileclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringprotected static final org.openqa.selenium.By BUTTON_SAVE_TO_ALFRESCO
public EditInGoogleDocsPage(WebDrone drone, Boolean isGoogleCreate)
public EditInGoogleDocsPage(WebDrone drone)
drone - WebDronedocumentVersion - String original document versionpublic void setGoogleCreate(boolean isGoogleCreate)
public EditInGoogleDocsPage render(RenderTime timer) throws PageRenderTimeException
RenderRenderTime.timer - RenderTime time to waitHtmlPage page object responsePageRenderTimeExceptionpublic EditInGoogleDocsPage render(long time) throws PageRenderTimeException
Rendertime - waiting timeHtmlPage page object responsePageRenderTimeExceptionpublic EditInGoogleDocsPage render() throws PageRenderTimeException
RenderHtmlPage object responsePageRenderTimeExceptionpublic boolean isSaveToAlfrescoVisible()
public boolean isDiscardChangesVisible()
public boolean isBackToSharevisible()
public boolean isGoogleDocsIframeVisible()
public GoogleDocsDiscardChanges selectDiscard()
public HtmlPage selectSaveToAlfresco()
public HtmlPage selectBackToShare()
public void edit(String content)
public GoogleDocsRenamePage renameDocumentTitle()
public String getDocumentTitle()
Copyright © 2014. All rights reserved.