web automation using Selenium Rc with Php format

Hello Sir/Madam,

            Iam new to this Selenium Tool .Iam using this tool for web automation using Selenium RC-Php format.while running at the Command prompt Iam getting following:

C:\XAMPP\htdocs\selenium>phpunit home.php

PHPUnit 3.4.12 by Sebastian Bergmann.


Time: 8 seconds, Memory: 4.75Mb

There was 1 failure:

  1. home::testMyTestCase

Current URL:

Failed asserting that two strings are equal.

— Expected

+++ Actual

@@ @@

-Home Page

+Client Master Page



Tests: 1, Assertions: 1, Failures: 1.

I have also included following Code:


require_once ‘PHPUnit/Extensions/SeleniumTestCase.php’;

class home extends PHPUnit_Extensions_SeleniumTestCase


protected function setUp()





public function testMyTestCase()



&#036;this-&gt;assertEquals(&quot;Home Page&quot;, &#036;this-&gt;getTitle());



&#036;this-&gt;assertEquals(&quot;Contact CFCFS&quot;, &#036;this-&gt;getTitle());




Why there is Failure in executing this test at the command prompt?