|
const | DEFAULT_SELENIUM_HOST = 'localhost' |
|
const | DEFAULT_SELENIUM_PORT = 4444 |
|
const | DEFAULT_SELENIUM_BROWSER = '*chrome' |
|
const | DEFAULT_SELENIUM_BROWSER_URL = '/' |
|
|
| $extensionSettingsService = NULL |
|
The constructor.
- Parameters
-
Tx_Phpunit_Selenium_TestCase::getSeleniumBrowser |
( |
| ) |
|
|
protected |
Returns the configured browser that should run the Selenium tests.
This functions returns Firefox in chrome mode if no browser is configured.
- Returns
- string Selenium RC browser, will not be empty
Tx_Phpunit_Selenium_TestCase::getSeleniumBrowserUrl |
( |
| ) |
|
|
protected |
Returns the configured Selenium RC browser starting URL.
This functions returns the TYPO3_SITE_URL if no URL is configured.
- Returns
- string Selenium RC Browser URL, will not be empty
Tx_Phpunit_Selenium_TestCase::getSeleniumHost |
( |
| ) |
|
|
protected |
Returns the configured host name of the Selenium RC server.
This function returns "localhost" if no host is configured.
- Returns
- string host of the Selenium RC server, will not be empty
Tx_Phpunit_Selenium_TestCase::getSeleniumPort |
( |
| ) |
|
|
protected |
Returns the configured port number of the Selenium RC server.
This functions returns 4444 (the standard Selenium RC port) if no port is is configured
- Returns
- int the Selenium RC server port, will be > 0
Tx_Phpunit_Selenium_TestCase::isSeleniumServerRunning |
( |
| ) |
|
|
protected |
Tests if the Selenium RC server is running.
- Returns
- bool TRUE if the server is reachable by opening a socket, FALSE otherwise
Tx_Phpunit_Selenium_TestCase::runTest |
( |
| ) |
|
|
protected |
Runs the test if the Selenium RC Server is reachable.
If the server is not reachable, the tests will be marked as skipped, and a message will be displayed giving a hint on which host/port the client was looking for the Selenium server.
- See also
- PHPUnit_Extensions_SeleniumTestCase::runTest()
- Returns
- void
The documentation for this class was generated from the following file:
- Classes/Selenium/TestCase.php