Thursday, March 8, 2012
Thursday, March 1, 2012
Headless Jenkins Selenium Node in Ubuntu 10
First make sure your test suite and test files all end in .html. My company wasn't doing this and for whatever reason selenium 2.5 would run the tests fine and then it wouldn't quit the browser.
Second make sure and use a supported browser version. I tried running it using firefox 9 and it wouldnt' run any tests. Installing 3.6.27 worked.
Then I followed these two tutorials
http://www.labelmedia.co.uk/blog/posts/setting-up-selenium-server-on-a-headless-jenkins-ci-build-machine.html to get around the firefox profile timeout issue I ran
export DISPLAY=:1 firefox http://google.com &
which i got from http://drumcoder.co.uk/blog/2010/nov/23/selenium-headless/
also had to apt-get install libXtst-dev
Subscribe to:
Posts (Atom)