From: Brion Vibber Date: Wed, 20 Oct 2010 06:10:02 +0000 (+0000) Subject: Add seleniumserverexecpath and example non-default-PATH Firefox paths for Mac & Win... X-Git-Tag: 1.31.0-rc.0~34404 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=10268e39172056c07a34d9397137b0eda5abfc94;p=lhc%2Fweb%2Fwiklou.git Add seleniumserverexecpath and example non-default-PATH Firefox paths for Mac & Win in selenium_settings.ini.sample --- diff --git a/maintenance/tests/selenium/selenium_settings.ini.sample b/maintenance/tests/selenium/selenium_settings.ini.sample index c439b825e1..f8c1aede2c 100644 --- a/maintenance/tests/selenium/selenium_settings.ini.sample +++ b/maintenance/tests/selenium/selenium_settings.ini.sample @@ -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"