MediaWiki  REL1_21
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 182 of file Selenium.php.

References $name, $t, and array().

Selenium::__clone ( ) [protected]

Definition at line 188 of file Selenium.php.

Definition at line 178 of file Selenium.php.

static Selenium::getInstance ( ) [static]

Definition at line 83 of file Selenium.php.

References $_instance.

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

Definition at line 158 of file Selenium.php.

Definition at line 99 of file Selenium.php.

Definition at line 138 of file Selenium.php.

Definition at line 119 of file Selenium.php.

References port().

static Selenium::getUrl ( ) [static]

Definition at line 111 of file Selenium.php.

References $url.

Definition at line 128 of file Selenium.php.

References user.

Selenium::loadPage ( title,
action 
)

Definition at line 91 of file Selenium.php.

References $title, and $url.

Selenium::log ( message)

Definition at line 103 of file Selenium.php.

Definition at line 64 of file Selenium.php.

References $url, $value, type, and user.

Selenium::setAvailableBrowsers ( availableBrowsers)

Definition at line 150 of file Selenium.php.

Definition at line 166 of file Selenium.php.

Selenium::setHost ( host)

Definition at line 142 of file Selenium.php.

References $host.

Selenium::setJUnitLogfile ( junitlogfile)

Definition at line 154 of file Selenium.php.

References $junitlogfile.

Selenium::setLogger ( logger)

Definition at line 95 of file Selenium.php.

References $logger.

Selenium::setPass ( pass)

Definition at line 133 of file Selenium.php.

References $pass.

Selenium::setPort ( port)

Definition at line 115 of file Selenium.php.

References $port, and port().

Selenium::setRunAgainstGrid ( runagainstgrid)

Definition at line 162 of file Selenium.php.

References $runagainstgrid.

Selenium::setUrl ( url)

Definition at line 107 of file Selenium.php.

References $url, and $url.

Selenium::setUser ( user)

Definition at line 123 of file Selenium.php.

References $user, and user.

Selenium::setVerbose ( verbose)

Definition at line 146 of file Selenium.php.

References $verbose.

Definition at line 47 of file Selenium.php.

References $url, and port().

Definition at line 58 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: