First, you need to install Xvfb

In linux, do

[r...@mars ~]# yum search Xvfb

you will see which rpm is for your linux os. For example, I found

xorg-x11-server-Xvfb.x86_64 : A X Windows System virtual framebuffer X
server.

for my box, then install it.

[r...@mars ~]# yum install xorg-x11-server-Xvfb.x86_64

If you use Maven to run test, you can use the following script

#!/bin/bash

nohup startx -- `which Xvfb` :20 -screen 0 1024x768x24 & sleep 7
DISPLAY=:20 firefox  &     DISPLAY=:20 mvn test
pkill Xvfb

For ant, you can replace "mvn test" with your ant task (I didn't test
it).

In a log term, we will try to provide built-in support for headless
test with Xvfb.

Thanks,

Jian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to