Hi there, new to the forum and just starting with simpletest. I want to use simpletest to organize and drive my tests but I need some of the capabilities of Selenium for capturing dynamically generated items on our screens. I have written a few simpletest tests and automated them. Now I'm trying to glue Sel and Simp together using Testing_Selenium.

I have the selenium server running, I open firefox and it displays on my screen and on the lauching termnial, I get:

16:02:21.169 INFO - Launching Firefox...

Fatal error: Uncaught Testing_Selenium_Exception: Cannot connected to Selenium RC Server in /usr/share/php/Testing/Selenium.php on line 2581

the error trace follows.

Then I get:

16:04:10.422 INFO - Allocated session 122564 for my url, won't let me post a url now
16:04:10.474 INFO - Got result: OK,122564 on session 122564

do I need to increase a timeout somewhere? It seems like Testing_Selenium is not waiting long enough?

Thanks for any help you can provide.

here is the code:
Code PHP:
// set the path for where simpletest is
$path = '/usr/share/php' . PATH_SEPARATOR . '/usr/lib/iceweasel';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
require_once 'simpletest/unit_tester.php';
require_once 'simpletest/reporter.php';
require_once 'Testing/Selenium.php';
// require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
class uploadfileTest extends UnitTestCase
  private $selenium;
/*  function setUp()
  public function setUp()
    $this->selenium = new Testing_Selenium("*firefox /usr/lib/iceweasel/firefox-bin", "somewherein HP/");
  public function tearDown()
  function testMyTestCase()
    $this->click("link=From File");
    $this->select("folder", "label=regexp:\\s+Rando");
    $this->type("getfile", "/home/markd/Desktop/selenium-remote-control-0.9.2-dist.zip");
    $this->type("description", "test of file upload");
$test = new uploadfileTest();
$test->run(new TextReporter());