Hi there.
I have just started using Selenium-RC with PHPUnit in order to perform some web-based tests. Initially I set it up on Windows 7 using this guide - http://jodyt.com/2009/03/selenium-rc-and-php/ - and it worked fine.
I could create a .php file test and run it with phpunit.
However, I have been asked to get this running locally on Ubuntu 8.04. So I downloaded and unzipped the selenium-rc server to ~/selenium and it works fine by issuing 'java -jar selenium-server.jar'.
Now, when I change directory to where my php test files are, I get the following error(s) from the window where selenium-server is running:
15:26:58.317 INFO - Got result: ERROR Server Exception: sessionId led to start
new browser session: Error while launching browser doesn't exist; perhaps this
session was already stopped? on session led to start new browser session:
Error while launching browser
15:26:58.323 INFO - Command request: testComplete[, ] on session led to start
new browser session: Error while launching browser
15:26:58.323 INFO - Got result: OK on session led to start new browser
session: Error while launching browser
I am trying to do all this through Putty connections to the Ubuntu machine with X11 Forwarding on.
Any ideas what is going wrong?