public class FileDirectoryInfo
extends org.alfresco.webdrone.HtmlElement
DocumentLibraryPage. The list models the HTML element representing
the file or directory.| Constructor and Description |
|---|
FileDirectoryInfo(String nodeRef,
org.openqa.selenium.WebElement webElement,
org.alfresco.webdrone.WebDrone drone) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTag(String tagName)
Adds the specified Tag to the file or directory.
|
void |
clickOnAddTag()
Mimics the action of hovering over a tag until edit tag icon appears.
|
void |
clickOnTagCancelButton()
This method is used to click on cancel button when editing a tag.
|
DocumentLibraryPage |
clickOnTagNameLink(String tagName)
This method clicks on tag Name link.
|
void |
clickOnTagRemoveButton(String tagName)
This method clicks on given tag name remove button.
|
void |
clickOnTagSaveButton()
This method is used to click on save button when editing a tag.
|
void |
clickOnTitle()
Click on title.
|
SyncInfoPage |
clickOnViewCloudSyncInfo()
This method clicks on the viewCloudSyncInfo link.
|
org.alfresco.webdrone.HtmlPage |
declareRecord()
Action of selecting the declare records button
that appear in the action drop down, this is only
available in the Records Management Module.
|
org.alfresco.webdrone.HtmlPage |
delete()
Select delete action
|
List<org.openqa.selenium.WebElement> |
findAllWithWait(org.openqa.selenium.By cssSelector)
Performs the find with an added resolveStaleness.
|
org.openqa.selenium.WebElement |
findAndWait(org.openqa.selenium.By cssSelector)
Performs the find and wait given amount of time
with an added resolveStaleness.
|
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By cssSelector)
Performs the find with an added resolveStaleness.
|
String |
getCloudSyncType()
This method clicks on the viewCloudSyncInfo link.
|
List<org.openqa.selenium.WebElement> |
getContentActions()
Selects the 'Actions' menu link on the select data row on DocumentLibrary Page.
|
String |
getContentEditInfo()
Gets the Create / Edit Information of the file or directory, if none then
empty string is returned.
|
String |
getContentInfo()
Retrieve content info (This document is locked by you., This document is locked by you for offline editing., Last sync failed.)
|
String |
getContentNodeRef()
Get NodeRef for the content on the selected data row on DocumentLibrary
Page.
|
String |
getDescription()
Gets the description of the file or directory, if none then empty string
is returned.
|
String |
getLikeCount()
Gets the like count for the selected data row on DocumentLibrary Page
|
String |
getName()
Gets the name of the file or directory, if none then empty string is
returned.
|
String |
getNodeRef()
Gets the node ref id of the content.
|
List<String> |
getTags()
Gets the Tag Information of the file or directory, if none then 'No Tags'
string is returned.
|
String |
getTitle()
Gets the Title of the file or directory, if none then empty string
is returned.
|
boolean |
hasTags()
Check if tags are attached to the selected content.
|
boolean |
isCheckboxSelected()
Verify if checkbox next to the contentRow is selected.
|
boolean |
isCloudSynced()
Returns whether the file / dir is cloud synced.
|
boolean |
isDeletePresent()
This method verifies the delete link is present or not.
|
boolean |
isEditInGoogleDocsPresent()
This method verifies the editInGoogleDocs link is present or not.
|
boolean |
isEditOfflineLinkPresent()
Method to check if Edit Offline Link is displayed or not
|
boolean |
isFavourite()
Checks if the Favourite option is selected on the selected data row on
DocumentLibrary Page
|
boolean |
isFolder()
Returns true if content in the selected data row on DocumentLibrary is
folder Page.
|
boolean |
isInlineEditLinkPresent()
Method to check if Inline Edit Link is displayed or not
|
boolean |
isLiked()
Checks if the Like option is selected on the selected data row on
DocumentLibrary Page
|
boolean |
isLocked()
Method to check if the content is locked or not
|
boolean |
isPartOfWorkflow()
Returns whether the file / dir is part of workflow.
|
boolean |
isRecord()
Verify if item is a record.
|
boolean |
isRequestToSyncLinkPresent()
Request to sync is present or not.
|
boolean |
isSignUpDialogVisible()
Returns true if Sign In To Alfresco Cloud popup opens (User haven't set up CloudSync)
|
boolean |
isSyncFailedIconPresent(long waitTime)
Verify if the Sync failed icon is displayed or not
|
boolean |
isSyncToCloudLinkPresent()
Check "Sync to Cloud" link on the select data row.
|
boolean |
isTypeFolder()
Checks if the FileDirectory is of a folder type.
|
boolean |
isUnSyncFromCloudLinkPresent()
Check "UnSync to Cloud" link on the select data row.
|
boolean |
isViewCloudSyncInfoLinkPresent()
This method verifies the viewCloudSyncInfo link is present or not.
|
boolean |
removeTagButtonIsDisplayed(String tagName)
This method gets the status whether given tagname remove button
has found or not.
|
void |
selectCheckbox()
Selects checkbox next to the contentRow.
|
org.openqa.selenium.WebElement |
selectContentActions()
Selects the 'Actions' menu link on the select data row on DocumentLibrary
Page.
|
CopyOrMoveContentPage |
selectCopyTo()
select Copy to...
|
void |
selectDelete()
Select the delete button on the item.
|
void |
selectDownload()
Selects the
|
void |
selectDownloadFolderAsZip()
Selects the
|
org.alfresco.webdrone.HtmlPage |
selectEditInGoogleDocs()
Selects the edit in google docs link
|
EditDocumentPropertiesPopup |
selectEditProperties()
Selects the edit properties link on the select data row on
DocumentLibrary Page.
|
void |
selectFavourite()
Selects or de-selects the favorite option on the select data row on DocumentLibrary Page.
|
org.alfresco.webdrone.HtmlPage |
selectInlineEdit()
Selects the "Inline Edit" link on the select data row on
DocumentLibrary Page.
|
void |
selectLike()
Selects or de selects the Like option on the select data row on
DocumentLibrary Page.
|
ManagePermissionsPage |
selectManagePermission()
select Manage permission link from more option of document library.
|
org.alfresco.webdrone.HtmlPage |
selectManageRules()
Select the link manage rules from
the actions drop down.
|
org.openqa.selenium.WebElement |
selectMoreAction()
Returns the WebElement for
|
CopyOrMoveContentPage |
selectMoveTo()
select Move to...
|
DocumentLibraryPage |
selectRequestSync()
Select the link Request Sync from
the actions drop down.
|
org.alfresco.webdrone.HtmlPage |
selectSyncToCloud()
Selects the "Sync to Cloud" link on the select data row on
DocumentLibrary Page.
|
SitePage |
selectThumbnail()
Clicks on the thumbnail next to the contentRow.
|
DocumentLibraryPage |
selectUnSyncAndRemoveContentFromCloud(boolean doRemoveContentOnCloud)
Selects the "unSync to Cloud" link on the select data row on
DocumentLibrary Page.
|
void |
selectUnSyncFromCloud()
Selects the "Sync to Cloud" link on the select data row on
DocumentLibrary Page.
|
FolderDetailsPage |
selectViewFolderDetails()
Selects the
|
String |
toString() |
public FileDirectoryInfo(String nodeRef, org.openqa.selenium.WebElement webElement, org.alfresco.webdrone.WebDrone drone)
public String getName()
public void clickOnTitle()
public boolean isTypeFolder()
public String getDescription()
public String getContentEditInfo()
public List<String> getTags()
public void selectDelete()
public EditDocumentPropertiesPopup selectEditProperties()
EditDocumentPropertiesPopup responsepublic org.openqa.selenium.WebElement selectContentActions()
WebElement WebElement that allows access to Actions menu for the selected Contentpublic List<org.openqa.selenium.WebElement> getContentActions()
WebElement available for the selected Contentpublic void selectFavourite()
public void selectLike()
public boolean isLiked()
public boolean isFavourite()
public String getLikeCount()
public boolean hasTags()
public void addTag(String tagName)
tagName - String tag to be addedpublic String getContentNodeRef()
public String getTitle()
public void clickOnAddTag()
public boolean removeTagButtonIsDisplayed(String tagName)
public void clickOnTagRemoveButton(String tagName)
tagName - String tag namepublic void clickOnTagSaveButton()
public void clickOnTagCancelButton()
public void selectCheckbox()
public boolean isCheckboxSelected()
public SitePage selectThumbnail()
public org.openqa.selenium.WebElement selectMoreAction()
public boolean isFolder()
public boolean isCloudSynced()
public boolean isPartOfWorkflow()
public void selectDownloadFolderAsZip()
public void selectDownload()
public String getNodeRef()
public org.openqa.selenium.WebElement findAndWait(org.openqa.selenium.By cssSelector)
findAndWait in class org.alfresco.webdrone.HtmlElementBy - css selectorWebElementpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By cssSelector)
findElement in class org.alfresco.webdrone.HtmlElementBy - css selectorWebElementpublic List<org.openqa.selenium.WebElement> findAllWithWait(org.openqa.selenium.By cssSelector)
findAllWithWait in class org.alfresco.webdrone.HtmlElementBy - css selectorWebElementpublic FolderDetailsPage selectViewFolderDetails()
DocumentLibraryPage responsepublic DocumentLibraryPage clickOnTagNameLink(String tagName)
tagName - DocumentLibraryPagepublic org.alfresco.webdrone.HtmlPage selectSyncToCloud()
DestinationAndAssigneePage responsepublic org.alfresco.webdrone.HtmlPage selectEditInGoogleDocs()
DestinationAndAssigneePage responsepublic boolean isSignUpDialogVisible()
public DocumentLibraryPage selectUnSyncAndRemoveContentFromCloud(boolean doRemoveContentOnCloud)
DestinationAndAssigneePage responsepublic void selectUnSyncFromCloud()
public boolean isViewCloudSyncInfoLinkPresent()
public SyncInfoPage clickOnViewCloudSyncInfo()
public org.alfresco.webdrone.HtmlPage selectInlineEdit()
InlineEditPage responsepublic String getCloudSyncType()
public String getContentInfo()
public boolean isLocked()
public boolean isInlineEditLinkPresent()
public boolean isEditOfflineLinkPresent()
public boolean isEditInGoogleDocsPresent()
public boolean isDeletePresent()
public org.alfresco.webdrone.HtmlPage declareRecord()
public boolean isRecord()
public org.alfresco.webdrone.HtmlPage selectManageRules()
public boolean isUnSyncFromCloudLinkPresent()
DestinationAndAssigneePage responsepublic boolean isSyncFailedIconPresent(long waitTime)
waitTime - public DocumentLibraryPage selectRequestSync()
public boolean isRequestToSyncLinkPresent()
public boolean isSyncToCloudLinkPresent()
public ManagePermissionsPage selectManagePermission()
public CopyOrMoveContentPage selectCopyTo()
public CopyOrMoveContentPage selectMoveTo()
public org.alfresco.webdrone.HtmlPage delete()
Copyright © 2013. All Rights Reserved.