WAIT_TIME_3000drone, maxPageLoadingTime, version| Constructor and Description |
|---|
UploadFilePage(WebDrone drone)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Clicks on the cancel link.
|
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, canResume, canResume, disbaleFileUploadFlash, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isLoggedIn, isLogoPresent, isTitlePresent, panelExistsclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringpublic UploadFilePage(WebDrone drone)
public UploadFilePage render(RenderTime timer)
HtmlPageRenderTime.timer - RenderTime time to waitHtmlPage page object responsepublic UploadFilePage render()
HtmlPageHtmlPage object responsepublic UploadFilePage render(long time)
HtmlPagetime - waiting timeHtmlPage page object responsepublic boolean isUploadFileDialogDisplayed()
public DocumentLibraryPage uploadFile(String filePath)
filePath - String file location to uploadIOExceptionpublic void cancel()
Copyright © 2013. All Rights Reserved.