public class SearchResultItem extends Object
| Constructor and Description |
|---|
SearchResultItem(org.openqa.selenium.WebElement element,
org.alfresco.webdrone.WebDrone drone)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
click()
Select the link of the search result item.
|
void |
clickOnDownloadIcon()
Method to Click on Download link of result item present on search results.
|
String |
clickOnViewInBrowserIcon()
Method to Click on viewInBrowser link of result item present on search results.
|
List<String> |
getFolderNamesFromContentPath()
This method finds the selected item's folderpath and returns the main
folder and sub folder names as list of string.
|
String |
getTitle()
Title of search result item.
|
boolean |
isFolder()
This method finds whether the selected item is folder or not, if yes returns true otherwise false.
|
public SearchResultItem(org.openqa.selenium.WebElement element,
org.alfresco.webdrone.WebDrone drone)
element - WebElementdrone - public String getTitle()
public void click()
public void clickOnDownloadIcon()
public String clickOnViewInBrowserIcon()
public boolean isFolder()
public List<String> getFolderNamesFromContentPath()
Copyright © 2013. All Rights Reserved.