DEFAULT_PAGE_LOADING_TIME_WAIT, drone, version| Constructor and Description |
|---|
UpdateFilePage(WebDrone drone,
Double documentVersion)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateFilePage |
render()
Page renderer verifies the page has rendered
by checking java script page loaded status is complete.
|
UpdateFilePage |
render(long time)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded by the
max limit time set.
|
UpdateFilePage |
render(RenderTime timer)
Page renderer verifies the page has rendered
by checking all elements are visible and loaded.
|
void |
selectMajorVersionChange()
Select the major version tick box.
|
void |
selectMinorVersionChange()
Select the minor version tick box.
|
void |
setComment(String comment)
Sets the comment in the comments field
|
DocumentDetailsPage |
submit()
Clicks on the submit upload button.
|
void |
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 UpdateFilePage render(RenderTime timer) throws PageException
HtmlPageRenderTime.timer - RenderTime time to waitHtmlPage page object responsePageExceptionpublic UpdateFilePage render() throws PageException
HtmlPageHtmlPage object responsePageExceptionpublic UpdateFilePage render(long time) throws PageException
HtmlPagetime - waiting timeHtmlPage page object responsePageExceptionpublic void selectMinorVersionChange()
public void selectMajorVersionChange()
public DocumentDetailsPage submit()
public void uploadFile(String filePath) throws PageException
filePath - String file location to uploadPageException - if errorpublic void setComment(String comment)
comment - String of user comment.Copyright © 2012. All Rights Reserved.