public class FileDirectoryInfo extends HtmlElement
DocumentLibraryPage. The list models the HTML element representing
the file or directory.| Constructor and Description |
|---|
FileDirectoryInfo(String nodeRef,
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.
|
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.
|
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.
|
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 |
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 |
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 |
isLiked()
Checks if the Like option is selected on the selected data row on
DocumentLibrary Page
|
boolean |
isTypeFolder()
Checks if the FileDirectory is of a folder type.
|
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.
|
boolean |
selectDelete()
Select the delete button on the item.
|
void |
selectDownload()
Selects the
|
void |
selectDownloadFolderAsZip()
Selects the
|
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.
|
void |
selectLike()
Selects or de selects the Like option on the select data row on
DocumentLibrary Page.
|
org.openqa.selenium.WebElement |
selectMoreAction()
Returns the WebElement for
|
SitePage |
selectThumbnail()
Clicks on the thumbnail next to the contentRow.
|
String |
toString() |
canResume, click, domEventCompleted, findElements, getAttribute, getDrone, getWebElement, setWebElementpublic String getName()
public void clickOnTitle()
public boolean isTypeFolder()
public String getDescription()
public String getContentEditInfo()
public List<String> getTags()
public boolean 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 void selectDownloadFolderAsZip()
public void selectDownload()
public String getNodeRef()
public org.openqa.selenium.WebElement findAndWait(org.openqa.selenium.By cssSelector)
findAndWait in class HtmlElementBy - css selectorWebElementpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By cssSelector)
findElement in class HtmlElementBy - css selectorWebElementpublic List<org.openqa.selenium.WebElement> findAllWithWait(org.openqa.selenium.By cssSelector)
findAllWithWait in class HtmlElementBy - css selectorWebElementCopyright © 2013. All Rights Reserved.