public class UpdateFilePage extends SharePage
| Modifier and Type | Field and Description |
|---|---|
protected String |
cancelButton |
protected String |
documentVersion |
protected String |
majorVersionRadioButton |
protected String |
minorVersionRadioButton |
protected String |
submitButton |
protected String |
textAreaCssLocation |
alfrescoVersion, dojoSupport, elementWaitInSeconds, popupRendertime, PROMPT_PANEL_ID, WAIT_TIME_3000| Constructor and Description |
|---|
UpdateFilePage(org.alfresco.webdrone.WebDrone drone,
String documentVersion,
boolean editOffline)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateFilePage |
render() |
UpdateFilePage |
render(long time) |
UpdateFilePage |
render(org.alfresco.webdrone.RenderTime timer) |
void |
selectCancel()
Clicks on the submit upload button.
|
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
|
org.alfresco.webdrone.HtmlPage |
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, getElementText, getLogin, getNav, getPageTitle, getPopupRendertime, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, setAlfrescoVersion, setElementWaitInSeconds, setPopupRendertime, submit, waitForFile, waitForFile, waitForFileprotected String textAreaCssLocation
protected String minorVersionRadioButton
protected String majorVersionRadioButton
protected String submitButton
protected String cancelButton
protected final String documentVersion
public UpdateFilePage(org.alfresco.webdrone.WebDrone drone,
String documentVersion,
boolean editOffline)
public UpdateFilePage render(org.alfresco.webdrone.RenderTime timer)
public UpdateFilePage render()
public UpdateFilePage render(long time)
public void selectMinorVersionChange()
public void selectMajorVersionChange()
public org.alfresco.webdrone.HtmlPage submit()
public void uploadFile(String filePath)
filePath - String file location to uploadpublic void setComment(String comment)
comment - String of user comment.public void selectCancel()
Copyright © 2013. All Rights Reserved.