Add seleniumserverexecpath and example non-default-PATH Firefox paths for Mac & Win...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 20 Oct 2010 06:10:02 +0000 (06:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 20 Oct 2010 06:10:02 +0000 (06:10 +0000)
maintenance/tests/selenium/selenium_settings.ini.sample

index c439b82..f8c1aed 100644 (file)
@@ -1,8 +1,15 @@
 [SeleniumSettings]
 
+; Set up the available browsers that Selenium can control.
 browsers[firefox]      = "*firefox"
 browsers[iexplorer] = "*iexploreproxy"
 browsers[chrome]       = "*chrome"
+
+; The simple configurations above usually work on Linux, but Windows and
+; Mac OS X hosts may need to specify a full path:
+;browsers[firefox] = "*firefox /Applications/Firefox.app/Contents/MacOS/firefox-bin"
+;browsers[firefox] = "*firefox C:\Program Files\Mozilla Firefox\firefox.exe"
+
 host                           = "localhost"
 port                           = "4444"
 wikiUrl                        = "http://localhost/deployment"
@@ -13,6 +20,10 @@ startserver                  =
 stopserver                     =
 jUnitLogFile           =
 
+; To let the test runner start and stop the selenium server, it needs the full
+; path to selenium-server.jar from the selenium-remote-control package.
+seleniumserverexecpath = "/opt/local/selenium-remote-control-1.0.3/selenium-server-1.0.3/selenium-server.jar"
+
 [SeleniumTests]
 
 testSuite[SimpleSeleniumTestSuite] = "maintenance/tests/selenium/SimpleSeleniumTestSuite.php"