DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version| Constructor and Description |
|---|
UploadFilePage(WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
basicRender, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isLoggedIn, isLogoPresent, isTitlePresent, panelExistsclose, getDrone, getScreenShot, getTitle, isBrowserTitlepublic UploadFilePage(WebDrone drone)
public UploadFilePage render(RenderTime timer) throws PageException
HtmlPageRenderTime.timer - RenderTime time to waitHtmlPage page object responsePageExceptionpublic UploadFilePage render() throws PageException
HtmlPageHtmlPage object responsePageExceptionpublic UploadFilePage render(long time) throws PageException
HtmlPagetime - waiting timeHtmlPage page object responsePageExceptionpublic boolean isUploadFileDialogDisplayed()
public DocumentLibraryPage uploadFile(String filePath) throws PageException
filePath - String file location to uploadPageException - if errorCopyright © 2012. All Rights Reserved.