Public Member Functions |
Protected Member Functions |
Static Protected Member Functions |
List of all members
SeleniumTestCase Class Reference
Detailed Description
SeleniumTestCase is the base class for test cases that run with Selenium.
Definition at line 20 of file SeleniumTestCase.php.
Inheritance diagram for SeleniumTestCase:
Public Member Functions | |
tearDown () | |
setUpPage () | |
Protected Member Functions | |
setUp () | |
setDisplay ($size) | |
waitForXpath ($xpath, $wait=30) | |
login ($user, $password) | |
Static Protected Member Functions | |
static | getAppUrl () |
Member Function Documentation
|
staticprotected |
Definition at line 39 of file SeleniumTestCase.php.
|
protected |
Definition at line 43 of file SeleniumTestCase.php.
tearDown | ( | ) |
Definition at line 62 of file SeleniumTestCase.php.
setUpPage | ( | ) |
Definition at line 70 of file SeleniumTestCase.php.
|
protected |
Definition at line 83 of file SeleniumTestCase.php.
|
protected |
Wait for a DOM element matching the given xpath.
- Parameters
-
$xpath The xpath $wait maximum (in seconds)
- Returns
- element|false false on time-out
Definition at line 96 of file SeleniumTestCase.php.
|
protected |
Log into the application.
- Parameters
-
$user The username $password The password
Definition at line 114 of file SeleniumTestCase.php.