DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version| Constructor and Description |
|---|
DocumentLibraryPage(WebDrone drone)
Constructor
|
DocumentLibraryPage(WebDrone drone,
boolean fileLoaded)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCommentCount()
The number of comments value displayed
on the span comment count.
|
List<FileDirectoryInfo> |
getFiles()
Extracts the results from result table that matches the file name.
|
DocumentLibraryNavigation |
getNavigation()
Get document library sub navigation.
|
boolean |
isDocumentLibrary()
Verify if the page viewed is the document library page.
|
boolean |
isFilesVisible()
Checks to see if files is on the page.
|
boolean |
isFileVisible(String fileName)
Checks to see if file is on the page.
|
DocumentLibraryPage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
DocumentLibraryPage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
DocumentLibraryPage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
DocumentDetailsPage |
selectFile(String title)
Selects the title of the document or folder link.
|
getSiteNav, isSite, isSitePagebasicRender, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isLoggedIn, isLogoPresent, isTitlePresent, panelExistsclose, getDrone, getScreenShot, getTitle, isBrowserTitlepublic DocumentLibraryPage(WebDrone drone)
public DocumentLibraryPage(WebDrone drone, boolean fileLoaded)
public DocumentLibraryPage render(RenderTime timer) throws PageException
HtmlPageRenderTime.timer - RenderTime time to waitHtmlPage page object responsePageExceptionpublic DocumentLibraryPage render() throws PageException
HtmlPageHtmlPage object responsePageExceptionpublic DocumentLibraryPage render(long time) throws PageException
HtmlPagetime - waiting timeHtmlPage page object responsePageExceptionpublic boolean isDocumentLibrary()
public DocumentLibraryNavigation getNavigation()
DocumentLibraryNavigation object.public List<FileDirectoryInfo> getFiles()
FileDirectoryInfo relating to resultpublic DocumentDetailsPage selectFile(String title) throws PageException
title - String file titleExceptionPageExceptionpublic boolean isFileVisible(String fileName)
fileName - String titlepublic boolean isFilesVisible()
Copyright © 2012. All Rights Reserved.