dojoSupport, WAIT_TIME_3000drone, maxPageLoadingTime, version| Constructor and Description |
|---|
UpdateFilePage(WebDrone drone,
String documentVersion,
boolean editOffline)
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, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExistsclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringpublic UpdateFilePage render(RenderTime timer)
RenderRenderTime.timer - RenderTime time to waitHtmlPage page object responsepublic UpdateFilePage render()
RenderHtmlPage object responsepublic UpdateFilePage render(long time)
Rendertime - waiting timeHtmlPage page object responsepublic void selectMinorVersionChange()
public void selectMajorVersionChange()
public DocumentDetailsPage submit()
public void uploadFile(String filePath)
filePath - String file location to uploadpublic void setComment(String comment)
comment - String of user comment.Copyright © 2013. All Rights Reserved.