|
||||||||||
| 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.UploadFilePage
public class UploadFilePage
Upload file page object, holds all element of the HTML page relating to share's upload file page in site.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version |
| Constructor Summary | |
|---|---|
UploadFilePage(WebDrone drone)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
isUploadFileDialogDisplayed()
Verify if the file upload dialog is displayed. |
UploadFilePage |
render()
Page renderer verifies the page has rendered by checking java script page loaded status is complete. |
UploadFilePage |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
UploadFilePage |
render(RenderTime timer)
Page renderer verifies the page has rendered by checking all elements are visible and loaded. |
DocumentLibraryPage |
uploadFile(String filePath)
Uploads a file by entering the file location into the input field and submitting the form. |
| 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 UploadFilePage(WebDrone drone)
| Method Detail |
|---|
public UploadFilePage render(RenderTime timer)
throws PageException
HtmlPageRenderTime.
timer - RenderTime time to wait
HtmlPage page object response
PageException
public UploadFilePage render()
throws PageException
HtmlPage
HtmlPage object response
PageException
public UploadFilePage render(long time)
throws PageException
HtmlPage
HtmlPage page object response
PageExceptionpublic boolean isUploadFileDialogDisplayed()
public DocumentLibraryPage uploadFile(String filePath)
throws Exception
filePath - String file location to upload
Exception - if error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||