|
||||||||||
| 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
public abstract class AbstractEditProperties
Abstract of edit properties
| Field Summary | |
|---|---|
protected static org.openqa.selenium.By |
INPUT_AUTHOR_SELECTOR
|
protected static org.openqa.selenium.By |
INPUT_DESCRIPTION_SELECTOR
|
protected static org.openqa.selenium.By |
INPUT_NAME_SELECTOR
|
protected static org.openqa.selenium.By |
INPUT_ORIENTATION_SELECTOR
|
protected static org.openqa.selenium.By |
INPUT_RESOLUTION_UNIT_SELECTOR
|
protected static org.openqa.selenium.By |
INPUT_TITLE_SELECTOR
|
protected static org.openqa.selenium.By |
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 | |
|---|---|
protected |
AbstractEditProperties(WebDrone drone)
|
| Method Summary | |
|---|---|
protected void |
clickOnCancel()
Select cancel button. |
protected void |
clickSave()
Selects the save button that triggers the form submition. |
protected String |
getDescription()
Get value seen on the description input value. |
protected String |
getDocumentTitle()
Get value seen on the title input value. |
protected String |
getName()
Get the String value of name input value. |
protected String |
getValue(org.openqa.selenium.By by)
Gets the value of the input field |
protected void |
setDescription(String description)
Enters a value in to the properties form. |
protected void |
setDocumentTitle(String title)
Enters a value in to the properties form. |
protected void |
setInput(org.openqa.selenium.WebElement input,
String value)
Clear the input field and inserts the new value. |
protected void |
setName(String name)
Enters a value in to the properties form. |
| 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, 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 |
| Methods inherited from interface org.alfresco.webdrone.HtmlPage |
|---|
render, render, render |
| Field Detail |
|---|
protected static final org.openqa.selenium.By INPUT_NAME_SELECTOR
protected static final org.openqa.selenium.By INPUT_TITLE_SELECTOR
protected static final org.openqa.selenium.By INPUT_DESCRIPTION_SELECTOR
protected static final org.openqa.selenium.By INPUT_AUTHOR_SELECTOR
protected static final org.openqa.selenium.By INPUT_RESOLUTION_UNIT_SELECTOR
protected static final org.openqa.selenium.By INPUT_VERTICAL_RESOLUTION_SELECTOR
protected static final org.openqa.selenium.By INPUT_ORIENTATION_SELECTOR
| Constructor Detail |
|---|
protected AbstractEditProperties(WebDrone drone)
| Method Detail |
|---|
protected void setInput(org.openqa.selenium.WebElement input,
String value)
input - WebElement represents the form inputvalue - String input value to enterprotected String getValue(org.openqa.selenium.By by)
by - input field descriptor
protected String getName()
protected void setName(String name)
name - String name inputprotected String getDocumentTitle()
protected void setDocumentTitle(String title)
title - String name inputprotected String getDescription()
protected void setDescription(String description)
description - String name inputprotected void clickOnCancel()
protected void clickSave()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||