public class TrashCanPage extends SharePage
| Modifier and Type | Field and Description |
|---|---|
protected static org.openqa.selenium.By |
TRASHCAN_BUTTON |
protected static org.openqa.selenium.By |
TRASHCAN_CLEAR_BUTTON |
protected static org.openqa.selenium.By |
TRASHCAN_DELETE_LINK |
protected static org.openqa.selenium.By |
TRASHCAN_EMPTY_BUTTON |
protected static org.openqa.selenium.By |
TRASHCAN_ITEM_LIST |
protected static org.openqa.selenium.By |
TRASHCAN_ITEM_NAME |
protected static org.openqa.selenium.By |
TRASHCAN_RECOVER_LINK |
protected static org.openqa.selenium.By |
TRASHCAN_SEARCH_BUTTON |
protected static org.openqa.selenium.By |
TRASHCAN_SEARCH_INPUT |
protected static org.openqa.selenium.By |
TRASHCAN_SELECT_ALL_LINK |
protected static org.openqa.selenium.By |
TRASHCAN_SELECT_BUTTON |
protected static org.openqa.selenium.By |
TRASHCAN_SELECT_INVERT_LINK |
protected static org.openqa.selenium.By |
TRASHCAN_SELECT_ITEM_CHECKBOX |
protected static org.openqa.selenium.By |
TRASHCAN_SELECT_NONE_LINK |
protected static org.openqa.selenium.By |
TRASHCAN_SELECTED_BUTTON |
protected static org.openqa.selenium.By |
TRASHCAN_SELECTED_LIST |
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, PROMPT_PANEL_ID, WAIT_TIME_3000| Constructor and Description |
|---|
TrashCanPage(org.alfresco.webdrone.WebDrone drone) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.webdrone.HtmlPage |
clearSearch()
Method to clear the entered serach field.
|
ProfileNavigation |
getProfileNav() |
List<String> |
getSearchResults()
TrashCan Search Results
|
boolean |
hasTrashCanItems()
Method to find out whether we have items in trashcan page
|
boolean |
isCheckBoxSelected(String itemToBeChecked)
Is check box selected
|
org.alfresco.webdrone.HtmlPage |
itemSearch(String searchText)
Input serach text and perform search with in the items which are
displayed in the trashcan page.
|
TrashCanPage |
render() |
TrashCanPage |
render(long time) |
TrashCanPage |
render(org.alfresco.webdrone.RenderTime timer) |
TrashCanEmptyConfirmationPage |
selectEmpty()
Empty the trashcan
|
org.alfresco.webdrone.HtmlPage |
selectTrashCanAction(String itemToBeRecovered,
String actionType)
This method will click on the recover button and that item will be
recovered from TrashCan
|
org.alfresco.webdrone.HtmlPage |
selectTrashCanItem(String itemToBeChecked)
select check box to delete an item
|
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getPopupRendertime, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, setAlfrescoVersion, setElementWaitInSeconds, setPopupRendertime, submit, waitForFile, waitForFile, waitForFileprotected static final org.openqa.selenium.By TRASHCAN_SEARCH_INPUT
protected static final org.openqa.selenium.By TRASHCAN_SEARCH_BUTTON
protected static final org.openqa.selenium.By TRASHCAN_CLEAR_BUTTON
protected static final org.openqa.selenium.By TRASHCAN_SELECTED_BUTTON
protected static final org.openqa.selenium.By TRASHCAN_RECOVER_LINK
protected static final org.openqa.selenium.By TRASHCAN_DELETE_LINK
protected static final org.openqa.selenium.By TRASHCAN_SELECT_BUTTON
protected static final org.openqa.selenium.By TRASHCAN_SELECT_ALL_LINK
protected static final org.openqa.selenium.By TRASHCAN_SELECT_NONE_LINK
protected static final org.openqa.selenium.By TRASHCAN_SELECT_INVERT_LINK
protected static final org.openqa.selenium.By TRASHCAN_EMPTY_BUTTON
protected static final org.openqa.selenium.By TRASHCAN_SELECT_ITEM_CHECKBOX
protected static final org.openqa.selenium.By TRASHCAN_ITEM_LIST
protected static final org.openqa.selenium.By TRASHCAN_BUTTON
protected static final org.openqa.selenium.By TRASHCAN_SELECTED_LIST
protected static final org.openqa.selenium.By TRASHCAN_ITEM_NAME
public TrashCanPage render(org.alfresco.webdrone.RenderTime timer)
public TrashCanPage render(long time)
public TrashCanPage render()
public ProfileNavigation getProfileNav()
public org.alfresco.webdrone.HtmlPage itemSearch(String searchText)
- - Stringpublic org.alfresco.webdrone.HtmlPage clearSearch()
public boolean hasTrashCanItems()
public List<String> getSearchResults() throws org.alfresco.webdrone.exception.PageOperationException
org.alfresco.webdrone.exception.PageOperationExceptionpublic org.alfresco.webdrone.HtmlPage selectTrashCanItem(String itemToBeChecked) throws org.alfresco.webdrone.exception.PageOperationException
- - itemToBeCheckedorg.alfresco.webdrone.exception.PageOperationExceptionpublic boolean isCheckBoxSelected(String itemToBeChecked)
public org.alfresco.webdrone.HtmlPage selectTrashCanAction(String itemToBeRecovered, String actionType) throws org.alfresco.webdrone.exception.PageOperationException
- - itemToBeRecovered, actionType- - PageOperationExceptionorg.alfresco.webdrone.exception.PageOperationExceptionpublic TrashCanEmptyConfirmationPage selectEmpty()
Copyright © 2013. All Rights Reserved.