|
||||||||||
| 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.document.DocumentLibraryNavigation
public class DocumentLibraryNavigation
Represent elements found on the HTML page relating to the document library sub navigation bar that appears on the document library site page.
| Field Summary | |
|---|---|
static String |
CREATE_NEW_FOLDER_BUTTON
|
static String |
FILE_UPLOAD_BUTTON
|
| Fields inherited from class org.alfresco.webdrone.share.SharePage |
|---|
dojoSupport, WAIT_TIME_3000 |
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
drone, maxPageLoadingTime, version |
| Constructor Summary | |
|---|---|
DocumentLibraryNavigation(WebDrone drone)
Constructor. |
|
| Method Summary | |
|---|---|
NewFolderPage |
createNewFolder()
Mimics the action of selecting the create new folder button. |
DocumentLibraryNavigation |
render()
Page renderer verifies the page has rendered by checking java script page loaded status is complete. |
DocumentLibraryNavigation |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
DocumentLibraryNavigation |
render(RenderTime timer)
Page renderer verifies the page has rendered by checking all elements are visible and loaded. |
UploadFilePage |
selectFileUpload()
Mimics the action of selecting the file upload button. |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
|---|
basicRender, canResume, canResume, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists |
| Methods inherited from class org.alfresco.webdrone.Page |
|---|
close, getDrone, getScreenShot, getTitle, isBrowserTitle, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String FILE_UPLOAD_BUTTON
public static final String CREATE_NEW_FOLDER_BUTTON
| Constructor Detail |
|---|
public DocumentLibraryNavigation(WebDrone drone)
| Method Detail |
|---|
public DocumentLibraryNavigation render(RenderTime timer)
HtmlPageRenderTime.
timer - RenderTime time to wait
HtmlPage page object responsepublic DocumentLibraryNavigation render()
HtmlPage
HtmlPage object responsepublic DocumentLibraryNavigation render(long time)
HtmlPage
time - waiting time
HtmlPage page object responsepublic UploadFilePage selectFileUpload()
public NewFolderPage createNewFolder()
NewFolderPage page response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||