public class TrashSubPage extends AbstractPage
Modifier and Type | Field and Description |
---|---|
protected org.openqa.selenium.WebElement |
documentContentForm |
protected static String |
EMPTY_TRASH_BUTTON_ID |
protected static String |
PERMANENT_DELETE_BUTTON_ID |
protected static String |
RESTORE_BUTTON_ID |
protected static String |
SELECT_ALL_BUTTON_ID |
driver, userServicesForm
Constructor and Description |
---|
TrashSubPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
protected void |
deleteSelectedDocuments() |
TrashSubPage |
emptyTrash() |
List<org.openqa.selenium.WebElement> |
getChildDocumentRows() |
protected ContentViewElement |
getElement() |
TrashSubPage |
goToDocument(int index) |
TrashSubPage |
goToDocument(String documentTitle) |
boolean |
hasDocumentLink(String title) |
TrashSubPage |
purgeAllDocuments()
Removes all documents visible on current page.
|
TrashSubPage |
purgeDocument(String... titles) |
DocumentBasePage |
restoreDocument(String... titles) |
protected void |
restoreSelectedDocuments() |
TrashSubPage |
selectByTitle(String... titles) |
asPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, closeFancyBox, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getInfoFeedbackMessage, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitForFancyBoxClosed, waitUntilEnabled, waitUntilEnabled, waitUntilEnabledAndClick, waitUntilEnabledAndClick, waitUntilURLDifferentFrom
protected static final String SELECT_ALL_BUTTON_ID
protected static final String PERMANENT_DELETE_BUTTON_ID
protected static final String RESTORE_BUTTON_ID
protected static final String EMPTY_TRASH_BUTTON_ID
protected org.openqa.selenium.WebElement documentContentForm
public TrashSubPage(org.openqa.selenium.WebDriver driver)
public List<org.openqa.selenium.WebElement> getChildDocumentRows()
public TrashSubPage emptyTrash()
public TrashSubPage purgeAllDocuments()
public TrashSubPage goToDocument(int index)
public TrashSubPage goToDocument(String documentTitle)
public TrashSubPage selectByTitle(String... titles)
public DocumentBasePage restoreDocument(String... titles)
public TrashSubPage purgeDocument(String... titles)
public boolean hasDocumentLink(String title)
protected ContentViewElement getElement()
protected void restoreSelectedDocuments()
protected void deleteSelectedDocuments()
Copyright © 2017 Nuxeo. All rights reserved.