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.

F

Time: 8 seconds, Memory: 4.75Mb

There was 1 failure:

  1. home::testMyTestCase

Current URL: http://192.168.100.4/clientinterface/LoginError.aspx

Failed asserting that two strings are equal.

— Expected

+++ Actual

@@ @@

-Home Page

+Client Master Page

C:\XAMPP\htdocs\selenium\home.php:16

FAILURES!

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

I have also included following Code:


<?php

require_once ‘PHPUnit/Extensions/SeleniumTestCase.php’;

class home extends PHPUnit_Extensions_SeleniumTestCase

{

protected function setUp()

{

&#036;this-&gt;setBrowser('*firefox');


&#036;this-&gt;setBrowserUrl('http://192.168.100.4/clientinterface/ClientHomePage.aspx');

}

public function testMyTestCase()

{

&#036;this-&gt;open('http://192.168.100.4/clientinterface/ClientHomePage.aspx');


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


&#036;this-&gt;click(&quot;ctl00_C1WebMenu1_int_i5_txt&quot;);


&#036;this-&gt;waitForPageToLoad(&quot;30000&quot;);


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

}

}

?>

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