|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.site.SitePage
org.alfresco.webdrone.share.site.document.DocumentLibraryPage
public class DocumentLibraryPage
Site document library page object, holds all element of the HTML page relating to share's site document library page.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version |
| Constructor Summary | |
|---|---|
DocumentLibraryPage(WebDrone drone)
Constructor |
|
| Method Summary | |
|---|---|
List<org.openqa.selenium.WebElement> |
getFiles(String filename)
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 |
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 document details link. |
| Methods inherited from class org.alfresco.webdrone.share.site.SitePage |
|---|
getSiteNav, isSitePage |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
|---|
basicRender, disbaleFileUploadFlash, findButton, getLogin, getNav, getPageTitle, getSearch, isLogoPresent, isTitlePresent, panelExists |
| Methods inherited from class org.alfresco.webdrone.Page |
|---|
close, getScreenShot, getTitle, isBrowserTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentLibraryPage(WebDrone drone)
| Method Detail |
|---|
public DocumentLibraryPage render(RenderTime timer)
throws PageException
HtmlPageRenderTime.
timer - RenderTime time to wait
HtmlPage page object response
PageException
public DocumentLibraryPage render()
throws PageException
HtmlPage
HtmlPage object response
PageException
public DocumentLibraryPage render(long time)
throws PageException
HtmlPage
HtmlPage page object response
PageExceptionpublic boolean isDocumentLibrary()
public DocumentLibraryNavigation getNavigation()
DocumentLibraryNavigation object.public List<org.openqa.selenium.WebElement> getFiles(String filename)
filename - String file name
WebElement relating to result
public DocumentDetailsPage selectFile(String title)
throws PageException
title - String file title
Exception
PageExceptionpublic boolean isFileVisible(String fileName)
fileName - String title
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||