org.alfresco.webdrone.share.site.document
Class DocumentEditOfflinePage
java.lang.Object
org.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.site.SitePage
org.alfresco.webdrone.share.site.document.DocumentDetailsPage
org.alfresco.webdrone.share.site.document.DocumentEditOfflinePage
- All Implemented Interfaces:
- HtmlPage, Render
public class DocumentEditOfflinePage
- extends DocumentDetailsPage
| Methods inherited from class org.alfresco.webdrone.share.site.document.DocumentDetailsPage |
addComment, clickOnDownloadLinkForUnsupportedDocument, delete, getCommentCount, getComments, getCommentsOfLastCommit, getDocumentSize, getDocumentTitle, getDocumentVersion, getLikeCount, getProperties, getRevisionPanel, getTagList, getToolTipForFavourite, getToolTipForLike, isDocumentDetailsPage, isEditOfflineDisplayed, isEditOfflineLinkDisplayed, isFavourite, isLiked, isNoPreviewMessageDisplayed, isUploadNewVersionDisplayed, removeComment, selectDownload, selectEditProperties, selectFavourite, selectInlineEdit, selectLike, selectManageAspects, selectUploadNewVersion |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists |
DocumentEditOfflinePage
public DocumentEditOfflinePage(WebDrone drone)
render
public DocumentEditOfflinePage render(long time)
- Description copied from interface:
Render
- Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
- Specified by:
render in interface Render- Overrides:
render in class DocumentDetailsPage
- Parameters:
time - waiting time
- Returns:
HtmlPage page object response
render
public DocumentEditOfflinePage render(RenderTime timer)
- Ensures that the 'checked out' message is visible.
- Specified by:
render in interface Render- Overrides:
render in class DocumentDetailsPage
- Parameters:
timer - Max time to wait
- Returns:
DocumentDetailsPage
render
public DocumentEditOfflinePage render()
- Description copied from interface:
Render
- Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
- Specified by:
render in interface Render- Overrides:
render in class DocumentDetailsPage
- Returns:
HtmlPage object response
isCheckedOut
public boolean isCheckedOut()
- Description copied from class:
DocumentDetailsPage
- Verifies if document is locked for offline editing.
- Overrides:
isCheckedOut in class DocumentDetailsPage
- Returns:
- true if locked for offline editing
selectEditOffLine
public HtmlPage selectEditOffLine(File file)
- Description copied from class:
DocumentDetailsPage
- Select the edit off line link.
- Overrides:
selectEditOffLine in class DocumentDetailsPage
- Returns:
HtmlPage edit off line page.
- Throws:
UnsupportedOperationException - always
selectCancelEditing
public HtmlPage selectCancelEditing()
- Select the cancel edit off line link.
- Returns:
HtmlPage edit off line page.
Copyright © 2013. All Rights Reserved.