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 |
dojoSupport, PROMPT_PANEL_ID, WAIT_TIME_3000drone, elementWaitInSeconds, maxPageLoadingTime, popupRendertime, version| Constructor and Description |
|---|
TrashCanPage(WebDrone drone) |
| Modifier and Type | Method and Description |
|---|---|
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
|
HtmlPage |
itemSearch(String searchText)
Input serach text and perform search with in the items which are
displayed in the trashcan page.
|
TrashCanPage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
TrashCanPage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
TrashCanPage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
TrashCanEmptyConfirmationPage |
selectEmpty()
Empty the trashcan
|
HtmlPage |
selectTrashCanAction(String itemToBeRecovered,
String actionType)
This method will click on the recover button and that item will be
recovered from TrashCan
|
HtmlPage |
selectTrashCanItem(String itemToBeChecked)
select check box to delete an item
|
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, submit, waitForFile, waitForFile, waitForFileclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringprotected 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(WebDrone drone)
public TrashCanPage render(RenderTime timer)
RenderRenderTime.timer - RenderTime time to waitHtmlPage page object responsepublic TrashCanPage render(long time)
Rendertime - waiting timeHtmlPage page object responsepublic TrashCanPage render()
RenderHtmlPage object responsepublic ProfileNavigation getProfileNav()
public HtmlPage itemSearch(String searchText)
- - Stringpublic HtmlPage clearSearch()
public boolean hasTrashCanItems()
public List<String> getSearchResults() throws PageOperationException
PageOperationExceptionpublic HtmlPage selectTrashCanItem(String itemToBeChecked) throws PageOperationException
- - itemToBeCheckedPageOperationExceptionpublic boolean isCheckBoxSelected(String itemToBeChecked)
public HtmlPage selectTrashCanAction(String itemToBeRecovered, String actionType) throws PageOperationException
- - itemToBeRecovered, actionType- - PageOperationExceptionPageOperationExceptionpublic TrashCanEmptyConfirmationPage selectEmpty()
Copyright © 2014. All rights reserved.