public class EditDocumentPropertiesPage extends 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_SELECTORdojoSupport, PROMPT_PANEL_ID, WAIT_TIME_3000drone, elementWaitInSeconds, maxPageLoadingTime, popupRendertime, version| Modifier | Constructor and Description |
|---|---|
|
EditDocumentPropertiesPage(WebDrone drone) |
protected |
EditDocumentPropertiesPage(WebDrone drone,
String tagName) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean |
isSaveButtonVisible()
Verify the save 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.
|
clickOnCancel, clickSave, getDescription, getDocumentTitle, getName, getTag, getValue, setDescription, setDocumentTitle, setInput, setNamegetSiteNav, isSite, isSitePagebasicRender, canResume, canResume, disbaleFileUploadFlash, elementRender, findButton, getCopyRight, getElementText, getLogin, getNav, getPageTitle, getSearch, isJSMessageDisplayed, isLoggedIn, isLogoPresent, isTitlePresent, panelExists, submit, waitForFile, waitForFile, waitForFileclose, getDrone, getScreenShot, getTitle, isBrowserTitle, toStringpublic EditDocumentPropertiesPage(WebDrone drone)
public EditDocumentPropertiesPage render(RenderTime timer)
RenderRenderTime.timer - RenderTime time to waitHtmlPage page object responsepublic EditDocumentPropertiesPage render(long time)
Rendertime - waiting timeHtmlPage page object responsepublic EditDocumentPropertiesPage render()
RenderHtmlPage 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 boolean isSaveButtonVisible()
public DocumentDetailsPage selectSave()
DocumentDetailsPage page responseprotected DocumentDetailsPage selectCancel()
DocumentDetailsPage page responseCopyright © 2014. All rights reserved.