public abstract class DetailsPage extends SitePage
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ACTION_SET_ID |
protected static String |
CHECKEDOUT_MESSAGE_PLACEHOLDER |
static String |
DOCUMENT_VERSION_PLACEHOLDER |
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, WAIT_TIME_3000| Modifier | Constructor and Description |
|---|---|
protected |
DetailsPage(org.alfresco.webdrone.WebDrone drone) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.webdrone.HtmlPage |
addComment(String comment)
Adding a comment to a details by selecting add to prompt the input field,
as this is based on a rich editor JavaScript was used to enter the
comment.
|
protected void |
confirmDelete()
Confirm delete dialog acceptance action.
|
int |
getCommentCount()
The number of comments value displayed on the span comment count.
|
List<String> |
getComments()
Get all the comments that are displayed on the page.
|
TinyMceEditor |
getContentPage()
Get Rich Text Editor to edit the contents of Comments etc.
|
String |
getContentTitle()
Gets the page detail title.
|
String |
getLikeCount()
Checks for the number of positive votes.
|
Map<String,String> |
getPermissionsOfDetailsPage()
Get the detail permissions from view.
|
Map<String,String> |
getProperties()
Get the detail properties from view.
|
SyncInfoPage |
getSyncInfoPage()
Get Sync info page details.
|
List<String> |
getTagList()
Get the tags displayed on the tags section on the details details page.
|
String |
getToolTipForFavourite()
Gets the Tool Tip for Favourites action on the details page.
|
String |
getToolTipForLike()
Gets the Tool Tip Like action on the details page.
|
boolean |
isCommentLinkPresent() |
boolean |
isDetailsPage(String type) |
boolean |
isFavourite()
Gets the Favourites status on the document page.
|
boolean |
isLiked()
Gets the Like status on the details page.
|
boolean |
isModifiedByDetailsPresent()
Verifies the modified information is present in the page object.
|
boolean |
isSharePanePresent()
Verify the share panel is present or not in the page.
|
org.alfresco.webdrone.HtmlPage |
removeComment(String comment)
Removes the comment on detail page.
|
EditDocumentPropertiesPage |
selectEditProperties()
Mimics the action of selecting edit properties on the details page.
|
org.alfresco.webdrone.HtmlPage |
selectFavourite()
Mimics the action of selecting the Favourite icon on the details page.
|
org.alfresco.webdrone.HtmlPage |
selectLike()
Mimics the action of selecting the thumbs up icon on the details page.
|
SelectAspectsPage |
selectManageAspects()
Mimics the action of select the manage aspects.
|
ManagePermissionsPage |
selectManagePermissions()
Mimics the action of selecting the Manage Permission icon on the document
page.
|
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, waitForFileclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringprotected static final String CHECKEDOUT_MESSAGE_PLACEHOLDER
protected static final String ACTION_SET_ID
public static final String DOCUMENT_VERSION_PLACEHOLDER
public boolean isDetailsPage(String type)
type - public String getContentTitle()
public List<String> getComments()
public org.alfresco.webdrone.HtmlPage selectLike()
public String getLikeCount()
public Map<String,String> getPermissionsOfDetailsPage()
Map of key values.public Map<String,String> getProperties()
Map of Key and Values.public List<String> getTagList()
public org.alfresco.webdrone.HtmlPage selectFavourite()
DetailsPagepublic boolean isFavourite()
public boolean isLiked()
public String getToolTipForFavourite()
public String getToolTipForLike()
public EditDocumentPropertiesPage selectEditProperties()
public org.alfresco.webdrone.HtmlPage addComment(String comment)
comment - String user commentHtmlPage page responsepublic org.alfresco.webdrone.HtmlPage removeComment(String comment)
comment - to removeprotected void confirmDelete()
public boolean isModifiedByDetailsPresent()
public boolean isSharePanePresent()
public TinyMceEditor getContentPage()
public boolean isCommentLinkPresent()
public int getCommentCount()
public ManagePermissionsPage selectManagePermissions()
ManagePermissionsPagepublic SyncInfoPage getSyncInfoPage()
public SelectAspectsPage selectManageAspects()
SelectAspectsPageCopyright © 2013. All Rights Reserved.