Running my first test using Testrunner Core the test was initiated and ran to completion but then I got the following error in the bottom frame of the Testrunner window in firefox.
Fatal error: Class 'DBHandler' not found in C:\Program Files\EasyPHP 2.0b1\www\bromine\parser.php on line 3
Any ideas?
Which bromine version/revision are you running?
Could you post the first 5 lines of your parser.php
I am using SVN 50 (sorry I meant to mention that in my original post)
beginning of my parser.php
<?php
$dbh=new DBHandler();
function between($beg, $end, $str, $multiple=true) {
$a = explode($beg, substr($str,strpos($str,$beg)+strlen($beg)));
---
I just remembered that I did not run patcher.php after copying over the SVN 50 files
I got the following error when I did try to run it
Fatal error: Call to undefined method DBHandler::updateDB() in C:\Program Files\EasyPHP 2.0b1\www\bromine\patcher.php on line 13
Right, the parser.php error simply looks like a mistake on our part:
Copy
require('libs/DBHandler.php');
To line 2 of your parser.php.
Revision 50 does not contain a patcher.php... and thus it should not be run ![]()
Or you can update to HEAD (71) and run patcher.php. Above error is fixed and some other goodies.
I backed up and started again using XAMPP instead of EasyPHP because EasyPHP is a couple years old and the old (5.0.22) version on mySQL was causing me pain.
I got Revision 71 and with a couple of tweaks and workarounds (see the bug list) I was able to get Bromine accepting results from Selenium core and see them in Bromine.
Thanks