|
||||||||||
| 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
public class CQ5WCMBaseTestCase
| Field Summary | |
|---|---|
static String |
adminURL
|
static String |
context
|
static String |
HANDLE_CONTENT_FINDER
Handle for Content Finder |
static String |
HANDLE_LOGIN
Handle for Login |
static String |
HANDLE_MISC_ADMIN
Handle for Miscellaneous Administration |
static String |
HANDLE_SECURITY_ADMIN
Handle for User Administration |
static String |
HANDLE_SITE_ADMIN
Handle for Site Administration |
static String |
HANDLE_TAGGING_ADMIN
Handle for Tagging Administration |
static String |
HANDLE_WORKFLOW_ADMIN
Handle for Workflow Administration |
| Fields inherited from class com.day.qa.test.selenium.testrunner.BaseTestCase |
|---|
baseURL, browser, password, selenium, selServerHost, selServerPort, speed, username |
| Constructor Summary | |
|---|---|
CQ5WCMBaseTestCase()
|
|
| Method Summary | |
|---|---|
String |
extendToContentFinderHandle(String handle)
Extend handle to use content finder view |
static void |
globalLogin(String usr,
String pwd)
Login into the repository and open the siteadmin page. |
static void |
open(String url)
Open url |
boolean |
pageExists(String url)
Convenience method, see CQ5BaseTestCase#pageExist(String, String, String). |
boolean |
pageExists(String url,
String user,
String pass)
Tests if a page exists. |
| 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 |
| Field Detail |
|---|
public static final String adminURL
public static final String context
public static final String HANDLE_LOGIN
public static final String HANDLE_SITE_ADMIN
public static final String HANDLE_SECURITY_ADMIN
public static final String HANDLE_MISC_ADMIN
public static final String HANDLE_WORKFLOW_ADMIN
public static final String HANDLE_TAGGING_ADMIN
public static final String HANDLE_CONTENT_FINDER
| Constructor Detail |
|---|
public CQ5WCMBaseTestCase()
| Method Detail |
|---|
public static void open(String url)
throws Exception
url -
Exceptionpublic String extendToContentFinderHandle(String handle)
handle -
public boolean pageExists(String url,
String user,
String pass)
url - the url of the pageuser - the user to loginpass - the password to login
public boolean pageExists(String url)
CQ5BaseTestCase#pageExist(String, String, String).
url -
public static void globalLogin(String usr,
String pwd)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||