I had a simular problem and it seamed to be fixed when I added the line below at the top of my SeleniumTestCase.php
require_once(‘SeleniumTestCase/Driver.php’);
I am using Windows xampp and had that file located: C:\xampp\php\PEAR\PHPUnit\Extensions
Hope it helps someone else.
Now I only have one problem left and that is that when I get a failing test I get
Fatal error: Call to undefined method PHPUnit_Framework_ExpectationFailedExpectation::getCustomMessage() in C:\xampp\php\PEAR\PHPUnit\Extensions\SeleniumTestCase.php
But on successful test I get it to pass. Anyone got any idea how I can fix so that I can see what failed?