Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

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

Wednesday, March 30, 2011

How to find which version of Ubuntu/Debian you are running

source: http://www.debianadmin.com/find-your-debian-or-ubuntu-linux-version-you-are-running.html

ou can find in different ways in ubuntu

Solution 1

cat /etc/issue

The file /etc/issue holds the version of Ubuntu installed on your system

Solution 2

lsb_release -a

or

cat /etc/lsb-release