public abstract class SeleniumTest extends junit.framework.TestCase implements PerformanceTest
| Modifier and Type | Field and Description |
|---|---|
protected SeleniumAssertions |
assertThat |
protected SeleniumClient |
client |
protected SeleniumConfiguration |
config |
protected TimeRecorder |
recorder |
| Constructor and Description |
|---|
SeleniumTest() |
| Modifier and Type | Method and Description |
|---|---|
TimeRecorder |
getRecorder() |
protected SeleniumClient |
getSeleniumClient()
Gets the SeleniumClient.
|
abstract SeleniumConfiguration |
getSeleniumConfiguration() |
protected void |
onSetUp()
To be overridden in the case of test-specific setup activities
|
protected void |
onTearDown()
To be overridden in the case of test-specific tear-down activities
|
void |
setUp()
Calls overridden onSetup method before starting
the selenium client and possibly server and initiating
assertThat and interaction variables
|
void |
tearDown()
Calls overridden onTearDown method before shutting down
the selenium client and possibly server
|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toStringprotected SeleniumAssertions assertThat
protected SeleniumClient client
protected SeleniumConfiguration config
protected TimeRecorder recorder
public abstract SeleniumConfiguration getSeleniumConfiguration()
public final void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionprotected SeleniumClient getSeleniumClient()
SeleniumClient.protected void onSetUp()
throws Exception
Exceptionpublic final void tearDown()
throws Exception
tearDown in class junit.framework.TestCaseExceptionprotected void onTearDown()
throws Exception
Exceptionpublic TimeRecorder getRecorder()
getRecorder in interface PerformanceTestCopyright © 2015 Atlassian. All rights reserved.