|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.day.qa.test.selenium.testrunner.BaseTestCase
com.day.qa.test.selenium.cq5wcm.CQ5WCMBaseTestCase
com.day.qa.test.selenium.cq5wcm.geometrixx.components.ComponentBaseTestCase
public class ComponentBaseTestCase
| Field Summary |
|---|
| Fields inherited from class com.day.qa.test.selenium.cq5wcm.CQ5WCMBaseTestCase |
|---|
adminURL, context, HANDLE_CONTENT_FINDER, HANDLE_LOGIN, HANDLE_MISC_ADMIN, HANDLE_SECURITY_ADMIN, HANDLE_SITE_ADMIN, HANDLE_TAGGING_ADMIN, HANDLE_WORKFLOW_ADMIN |
| Fields inherited from class com.day.qa.test.selenium.testrunner.BaseTestCase |
|---|
baseURL, browser, password, selenium, selServerHost, selServerPort, speed, username |
| Constructor Summary | |
|---|---|
ComponentBaseTestCase()
|
|
| Method Summary | |
|---|---|
void |
deleteComponent(String componentPath)
Deletes the created Component. |
String |
getLabel(String componentPath)
Extracts the name or label of the component from its component path. |
void |
openEditComponentDialog(String componentPath)
Opens the Edit dialog for an existing component. |
void |
saveDialog(String componentPath)
Clicks the 'Save' button in a components edit dialog. |
void |
selectNewComponentDialog(String componentTitle)
Opens 'Insert New Component' dialog in par system by double clicking the drop zone at the bottom of the par system. |
void |
selectTab(String tabName)
Select tab element in dialog |
void |
setDialogDragNDropImage(String name)
TODO: Drag an drops an image from the content finder into on a upload widget or an image widget. |
void |
setDialogInput(String fieldName,
String value)
Set the value of an input in an dialog |
void |
setDialogRichText(String value)
Sets the value of an richedit in a dialog |
void |
setDialogTextArea(String fieldName,
String value)
Set the value in the text area of a dialog |
| Methods inherited from class com.day.qa.test.selenium.cq5wcm.CQ5WCMBaseTestCase |
|---|
extendToContentFinderHandle, globalLogin, open, pageExists, pageExists |
| Methods inherited from class com.day.qa.test.selenium.testrunner.BaseTestCase |
|---|
classSetUp, classTearDown, getBaseURL, getCompleteBaseURL, setBaseURL, setBrowser, setPassword, setSeleniumServerHost, setSeleniumServerPort, setSpeed, setUser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComponentBaseTestCase()
| Method Detail |
|---|
public void selectNewComponentDialog(String componentTitle)
throws Exception
Exception
public void openEditComponentDialog(String componentPath)
throws Exception
Exception
public void saveDialog(String componentPath)
throws Exception
Exceptionpublic String getLabel(String componentPath)
componentPath -
public void deleteComponent(String componentPath)
throws Exception
Exceptionpublic void selectTab(String tabName)
tabName -
public void setDialogTextArea(String fieldName,
String value)
fieldName - value -
public void setDialogInput(String fieldName,
String value)
fieldName - value - public void setDialogRichText(String value)
fieldName - value -
public void setDialogDragNDropImage(String name)
throws Exception
name -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||