Project

General

Profile

Actions

TestingSelenium » History » Revision 1

Revision 1/37 | Next »
Andreas Kohlbecker, 03/15/2011 10:45 AM


Functional Website Testing with Selenium

We will use Jenkins CI":http://jenkins-ci.org/ in order to run "SeleniumHQ tests headlessly on a Debian server.

Install SeleniumHQ

The Selenium Server is needed in order to run either Selenium RC style scripts or Remote Selenium Webdriver ones.

  1. download the Selenium Standalone Server from http://code.google.com/p/selenium/

Install xvfb

The following installation instructions have been copied from the great guidance on this http://www.danstraw.com/running-selenium-tests-on-debian-headlessly-using-iceweasel-and-firefox/2010/11/24/, though we found that we need to install additional packages we decided repeat and extend this guidance here.

To install xvfb:

sudo apt-get install xvfb

And then to check everything’s OK:

Xvfb :99

Where :99 is the display number. We set it to 99 to avoid any conflict with other displays, should they be attached. The command line should just hang without any comments until you press CTRL-C to close.

Updated by Andreas Kohlbecker about 11 years ago · 1 revisions