Selenium tests#
starting selenium#
This is normally done when you run ant webtests from a shell after cd'ing into your JSPWiki workspace, but when it fails ("Java result: 1"), you start debugging, expanding the command, shows you the following command:
java -jar tests/lib/selenium-server-1.0-beta1.jar -htmlSuite '*firefox' 'http://localhost:19041/' /home/metskem/workspace/JSPWiki/tests/build/webtests/test-container/selenium/TestSuite.html /tmp/ff.sel.log
- export PATH=/usr/local/firefox:$PATH
- set the browser type (to *firefox) in build.properties (at the bottom)
- find logs in ~/workspace/JSPWiki/tests/build/webtests/test-custom/selenium
%%small chrome://selenium-ide/content/selenium/TestRunner.html?test=file:///home/metskem/workspace/JSPWiki/tests/etc/selenium/tests/all/TestSuite.html&baseURL=http://scharnhorst.computerhok.nl:8080/JSPWiki/Wiki.jsp?page=Main %%

