|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.Page
org.alfresco.webdrone.share.SharePage
org.alfresco.webdrone.share.site.SitePage
org.alfresco.webdrone.share.site.document.AbstractEditProperties
org.alfresco.webdrone.share.site.document.EditDocumentPropertiesPage
public class EditDocumentPropertiesPage
Edit document properties page object, holds all element of the HTML page relating to share's edit document properties page.
| Field Summary |
|---|
| Fields inherited from class org.alfresco.webdrone.share.site.document.AbstractEditProperties |
|---|
BUTTON_SELECT_TAG, INPUT_AUTHOR_SELECTOR, INPUT_DESCRIPTION_SELECTOR, INPUT_NAME_SELECTOR, INPUT_ORIENTATION_SELECTOR, INPUT_RESOLUTION_UNIT_SELECTOR, INPUT_TITLE_SELECTOR, INPUT_VERTICAL_RESOLUTION_SELECTOR |
| Fields inherited from class org.alfresco.webdrone.share.SharePage |
|---|
dojoSupport, WAIT_TIME_3000 |
| Fields inherited from class org.alfresco.webdrone.Page |
|---|
drone, maxPageLoadingTime, version |
| Constructor Summary | |
|---|---|
|
EditDocumentPropertiesPage(WebDrone drone)
|
protected |
EditDocumentPropertiesPage(WebDrone drone,
String tagName)
|
| Method Summary | |
|---|---|
String |
getAuthor()
Get value seen on the author input value. |
protected String |
getMimeType()
Get the value of selected mime type |
String |
getOrientation()
Get value seen on the orientation input value. |
String |
getResolutionUnit()
Get value seen on the resolution unit input value. |
String |
getVerticalResolution()
Get value seen on the vertical resolution unit input value. |
boolean |
hasTags()
Check if tags are attached to the particular document value. |
boolean |
isEditPropertiesVisible()
Verify if edit properties element, that contains the form is visible. |
EditDocumentPropertiesPage |
render()
Page renderer verifies the page has rendered by checking java script page loaded status is complete. |
EditDocumentPropertiesPage |
render(long time)
Page renderer verifies the page has rendered by checking all elements are visible and loaded by the max limit time set. |
EditDocumentPropertiesPage |
render(RenderTime timer)
Page renderer verifies the page has rendered by checking all elements are visible and loaded. |
protected DocumentDetailsPage |
selectCancel()
Select cancel button. |
void |
selectMimeType(String mimeType)
Selects a mime type from the dropdown by matching the option displayed with the mimeType input. |
DocumentDetailsPage |
selectSave()
Clicks on save button. |
void |
setAuthor(String author)
Enters a value in to the properties form. |
void |
setOrientation(String orientation)
Enters a value in to the properties form. |
void |
setResolutionUnit(String unit)
Enters a value in to the properties form. |
void |
setVerticalResolution(String verticalResolution)
Enters a value in to the properties form. |
| Methods inherited from class org.alfresco.webdrone.share.site.document.AbstractEditProperties |
|---|
clickOnCancel, clickSave, getDescription, getDocumentTitle, getName, getTag, getValue, setDescription, setDocumentTitle, setInput, setName |
| Methods inherited from class org.alfresco.webdrone.share.site.SitePage |
|---|
getSiteNav, isSite, isSitePage |
| Methods inherited from class org.alfresco.webdrone.share.SharePage |
|---|
basicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists |
| Methods inherited from class org.alfresco.webdrone.Page |
|---|
close, getDrone, getScreenShot, getTitle, isBrowserTitle, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected EditDocumentPropertiesPage(WebDrone drone,
String tagName)
public EditDocumentPropertiesPage(WebDrone drone)
| Method Detail |
|---|
public EditDocumentPropertiesPage render(RenderTime timer)
RenderRenderTime.
timer - RenderTime time to wait
HtmlPage page object responsepublic EditDocumentPropertiesPage render(long time)
Render
time - waiting time
HtmlPage page object responsepublic EditDocumentPropertiesPage render()
Render
HtmlPage object responsepublic boolean isEditPropertiesVisible()
public String getAuthor()
public void setAuthor(String author)
author - String name inputpublic boolean hasTags()
public String getResolutionUnit()
public void setResolutionUnit(String unit)
unit - String name inputpublic String getVerticalResolution()
public void setVerticalResolution(String verticalResolution)
verticalResolution - String name inputpublic String getOrientation()
public void setOrientation(String orientation)
orientation - String name inputprotected String getMimeType()
public void selectMimeType(String mimeType)
mimeType - String identifier as seen on the dropdownpublic DocumentDetailsPage selectSave()
DocumentDetailsPage page responseprotected DocumentDetailsPage selectCancel()
DocumentDetailsPage page response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||