MediaWiki  REL1_19
Selenium Class Reference

Selenium connector This is implemented as a singleton. More...

List of all members.

Public Member Functions

 __call ($name, $args)
 __construct ()
 Override parent.
 getAvailableBrowsers ()
 getJUnitLogfile ()
 getLogger ()
 getPass ()
 getPort ()
 getUser ()
 loadPage ($title, $action)
 log ($message)
 login ()
 setAvailableBrowsers ($availableBrowsers)
 setBrowser ($b)
 setHost ($host)
 setJUnitLogfile ($junitlogfile)
 setLogger ($logger)
 setPass ($pass)
 setPort ($port)
 setRunAgainstGrid ($runagainstgrid)
 setUrl ($url)
 setUser ($user)
 setVerbose ($verbose)
 start ()
 stop ()

Static Public Member Functions

static getInstance ()
static getUrl ()

Public Attributes

 $isStarted = false
 $tester

Protected Member Functions

 __clone ()

Protected Attributes

 $browser
 $browsers
 $host
 $junitlogfile
 $logger
 $pass
 $port
 $runagainstgrid = false
 $timeout = 30000
 $user
 $verbose

Static Protected Attributes

static $_instance = null
static $url

Detailed Description

Selenium connector This is implemented as a singleton.

Definition at line 9 of file Selenium.php.


Constructor & Destructor Documentation

Override parent.

Definition at line 35 of file Selenium.php.


Member Function Documentation

Selenium::__call ( name,
args 
)

Definition at line 181 of file Selenium.php.

References $t.

Selenium::__clone ( ) [protected]

Definition at line 187 of file Selenium.php.

Definition at line 177 of file Selenium.php.

static Selenium::getInstance ( ) [static]

Definition at line 81 of file Selenium.php.

References $_instance.

Referenced by SeleniumTestCase\setUp(), and SeleniumTestSuite\setUp().

Here is the caller graph for this function:

Definition at line 157 of file Selenium.php.

Definition at line 97 of file Selenium.php.

Definition at line 136 of file Selenium.php.

Definition at line 117 of file Selenium.php.

static Selenium::getUrl ( ) [static]

Definition at line 109 of file Selenium.php.

References $url.

Definition at line 126 of file Selenium.php.

Selenium::loadPage ( title,
action 
)

Definition at line 89 of file Selenium.php.

References $title, and $url.

Selenium::log ( message)

Definition at line 101 of file Selenium.php.

Definition at line 62 of file Selenium.php.

References $url.

Selenium::setAvailableBrowsers ( availableBrowsers)

Definition at line 149 of file Selenium.php.

Definition at line 165 of file Selenium.php.

Selenium::setHost ( host)

Definition at line 141 of file Selenium.php.

References $host.

Selenium::setJUnitLogfile ( junitlogfile)

Definition at line 153 of file Selenium.php.

References $junitlogfile.

Selenium::setLogger ( logger)

Definition at line 93 of file Selenium.php.

References $logger.

Selenium::setPass ( pass)

Definition at line 131 of file Selenium.php.

References $pass.

Selenium::setPort ( port)

Definition at line 113 of file Selenium.php.

References $port.

Selenium::setRunAgainstGrid ( runagainstgrid)

Definition at line 161 of file Selenium.php.

References $runagainstgrid.

Selenium::setUrl ( url)

Definition at line 105 of file Selenium.php.

References $url, and $url.

Selenium::setUser ( user)

Definition at line 121 of file Selenium.php.

References $user.

Selenium::setVerbose ( verbose)

Definition at line 145 of file Selenium.php.

References $verbose.

Definition at line 47 of file Selenium.php.

References $url.

Definition at line 56 of file Selenium.php.


Member Data Documentation

Selenium::$_instance = null [static, protected]

Definition at line 10 of file Selenium.php.

Referenced by getInstance().

Selenium::$browser [protected]

Definition at line 17 of file Selenium.php.

Selenium::$browsers [protected]

Definition at line 18 of file Selenium.php.

Selenium::$host [protected]

Definition at line 16 of file Selenium.php.

Referenced by setHost().

Selenium::$isStarted = false

Definition at line 12 of file Selenium.php.

Selenium::$junitlogfile [protected]

Definition at line 24 of file Selenium.php.

Referenced by setJUnitLogfile().

Selenium::$logger [protected]

Definition at line 19 of file Selenium.php.

Referenced by setLogger().

Selenium::$pass [protected]

Definition at line 21 of file Selenium.php.

Referenced by setPass().

Selenium::$port [protected]

Definition at line 15 of file Selenium.php.

Referenced by setPort().

Selenium::$runagainstgrid = false [protected]

Definition at line 25 of file Selenium.php.

Referenced by setRunAgainstGrid().

Selenium::$tester

Definition at line 13 of file Selenium.php.

Selenium::$timeout = 30000 [protected]

Definition at line 22 of file Selenium.php.

Selenium::$url [static, protected]
Todo:
this shouldn't have to be static

Definition at line 30 of file Selenium.php.

Referenced by getUrl(), and setUrl().

Selenium::$user [protected]

Definition at line 20 of file Selenium.php.

Referenced by setUser().

Selenium::$verbose [protected]

Definition at line 23 of file Selenium.php.

Referenced by setVerbose().


The documentation for this class was generated from the following file: