Selenium Integration

Hi People,

I am trying to run Selenium Scripts on my server.

System is a Linux Box and I am accessing it via Putty. I have some basic admin privileges for it.

The Steps:

  1. A build.xml has been created which has this

o RELEASE_ROOT this has been set to the Java Project folder.

o SRC which defines the source folder of the project

o LIB which defines the lib folder of the project

o BIN which defines the binary folder where the classes needs to be pasted after compiling

o REPORT folder which defines the report folder where the test execution reports will be generated.

  1. Now i want to implement this on my server box. I installed firefox for it. But when I invoke it say : "bash-3.2$ firefox -search "term"
    Error: no display specified"..........It says no display is there.

  2. So I installed XVFB - A virtual Browser. But I am confused that if firefox is to run then XVFB must be up. How can I achieve it?

  3. Also the selenium should be up on my server box...

In totallity how can I run everything simulataneiously..?

It sounds like you need to "export DISPLAY=your-X-Server-host:0.0" so Firefox can display.