|
Ajocado TestNG Integration 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.testng.AbstractAjocadoTest
public abstract class AbstractAjocadoTest
Abstract implementation of TestNG test using RichFaces Selenium
| Field Summary | |
|---|---|
protected Browser |
browser
|
protected File |
buildDirectory
Introduce some build properties |
protected AjocadoConfiguration |
configuration
|
protected URL |
contextPath
ContextPath will be used to retrieve pages from right URL. |
protected URL |
contextRoot
context root can be used to obtaining full URL paths, is set to actual tested application's context root |
protected File |
resourcesDir
|
protected AjaxSelenium |
selenium
|
protected boolean |
seleniumDebug
|
static int |
WAIT_AJAX_INTERVAL
|
static int |
WAIT_GUI_INTERVAL
|
static int |
WAIT_MODEL_INTERVAL
|
| Constructor Summary | |
|---|---|
AbstractAjocadoTest()
|
|
| Method Summary | |
|---|---|
void |
finalizeBrowser()
Finalize context after each class run. |
void |
initializeBrowser()
Initializes context before each class run. |
void |
initializeExtensions()
Initializes page and Selenium's extensions to correctly install before test run. |
void |
initializeParameters()
|
void |
initializeWaitTimeouts()
Initializes the timeouts for waiting on interaction |
void |
isTestBrowserEnabled(String enabledBrowsersParam,
String disabledBrowsersParam,
String enabledModesParam,
String disabledModesParam)
Check whenever the current test is enabled for selected browser (evaluated from testng.xml). |
void |
restartBrowser()
Restarts the browser by finalizing current session and initializing new one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int WAIT_GUI_INTERVAL
public static final int WAIT_AJAX_INTERVAL
public static final int WAIT_MODEL_INTERVAL
protected AjaxSelenium selenium
protected AjocadoConfiguration configuration
protected URL contextRoot
protected URL contextPath
protected File buildDirectory
protected File resourcesDir
protected boolean seleniumDebug
protected Browser browser
| Constructor Detail |
|---|
public AbstractAjocadoTest()
| Method Detail |
|---|
public void initializeParameters()
throws MalformedURLException
MalformedURLExceptionpublic void initializeBrowser()
public void restartBrowser()
public void initializeWaitTimeouts()
public void initializeExtensions()
public void finalizeBrowser()
public void isTestBrowserEnabled(String enabledBrowsersParam,
String disabledBrowsersParam,
String enabledModesParam,
String disabledModesParam)
enabledBrowsersParam - the list of enabled browsersdisabledBrowsersParam - the list of disabled browsersenabledModesParam - the list of enabled browser modesdisabledModesParam - the list of disabled browser modes
|
Ajocado TestNG Integration 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||