Changeset 8081
- Timestamp:
- 07/08/10 21:05:38 (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UnitTestContrib/data/System/UnitTestContrib.txt
r7306 r8081 51 51 Tests derived from =FoswikiSeleniumTestCase= use [[http://seleniumhq.org/projects/remote-control/][Selenium Remote Control]] to exercise Foswiki via one or more browsers. 52 52 These tests only execute if one or more browsers are [[%SCRIPTURLPATH{"configure"}%#UnitTestContrib$Extensions][configured]] in $Foswiki::cfg{UnitTestContrib}{SeleniumRc}{Browsers}, 53 which tells the perl Selenium client (Test::WWW::Selenium ) where to find the !SeleniumRC server for each browser and how the server should launch the browser.53 which tells the perl Selenium client (Test::WWW::Selenium, available from CPAN) where to find the !SeleniumRC server for each browser and how the server should launch the browser. 54 54 The default value is blank (i.e. no browsers), so these tests are skipped by default. 55 55 If any browsers are specified, then each test derived from =FoswikiSeleniumTestCase= is executed via each browser. … … 80 80 Use the =SeleniumConfigTests= to verify your configuration. 81 81 82 ---+++ Quick-start 83 *Prerequisites:* 84 * =Test::WWW::Selenium= from CPAN 85 * A decent Java runtime, 1.5 or newer 86 * Firefox 2.0 or newer 87 88 *Get started:* 89 1 Download Selenium Remote Control (from http://seleniumhq/download) 90 1 Extract selenium-server.jar 91 1 Run =java -jar selenium-server.jar= as a user that may run firefox 92 1 Open [[%SCRIPTURLPATH{"configure"}%#UnitTestContrib$Extensions][configure]] 93 * Set =$Foswiki::cfg{UnitTestContrib}{SeleniumRc}{Browsers}= to =={ FF => {} }== 94 * Set =$Foswiki::cfg{UnitTestContrib}{SeleniumRc}{Username}= and =$Foswiki::cfg{UnitTestContrib}{SeleniumRc}{Password}= to a valid username and password 95 1 Go to =foswiki/test/unit= and run <noautolink> =perl -T ../bin/TestRunner.pl SeleniumConfigTests= </noautolink> 96 82 97 ---++ Installation Instructions 83 98
Note: See TracChangeset
for help on using the changeset viewer.
