<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>PHP</title>
        <link>http://geekswithblogs.net/Saqib/category/7536.aspx</link>
        <description>PHP</description>
        <language>en</language>
        <copyright>Tanzim Saqib</copyright>
        <managingEditor>me@tanzimsaqib.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Setting up PHP environment for Selenium</title>
            <link>http://geekswithblogs.net/Saqib/archive/2008/01/14/setting-up-php-environment-for-selenium.aspx</link>
            <description>&lt;p&gt;If you have gone through configuring Selenium in Windows system by &lt;a href="http://tanzimsaqib.com/setting-up-selenium-rc-server-in-windows/"&gt;Setting up Selenium RC server in Windows&lt;/a&gt; and &lt;a href="http://tanzimsaqib.com/setting-up-php-in-windows-using-abyss-server/"&gt;Setting up PHP in Windows using Abyss server&lt;/a&gt;, next thing you need to setup is the Selenium PHP client. Let me show you the steps I've gone through to accomplish this:&lt;/p&gt;
&lt;p&gt;1. Open up the console with all administrative privileges especially in Vista &lt;br /&gt;
2. Go to the directory where PHP is installed &lt;br /&gt;
3. Execute command: php PEAR/go-pear.phar &lt;br /&gt;
4. Follow the instructions, and ignore the additional offerings to configure it &lt;br /&gt;
5. Install PHPUnit by: &lt;br /&gt;
          pear channel-discover pear.phpunit.de &lt;br /&gt;
          pear install phpunit/PHPUnit&lt;/p&gt;
&lt;p&gt;6. &lt;a title="Testing_Selenium" href="http://pear.php.net/package/Testing_Selenium"&gt;Download&lt;/a&gt; Selenium PHP PEAR extension and place into your PHP directory &lt;br /&gt;
7. Run: pear install Testing_Selenium-0.4.2.tar &lt;br /&gt;
8. &lt;a title="GoogleTest.php" href="http://svn.openqa.org/fisheye/viewrep/~raw,r=HEAD/selenium-rc/trunk/clients/php/GoogleTest.php"&gt;Download&lt;/a&gt; the sample GoogleTest and assuming you put it in C:\Tests folder &lt;br /&gt;
9. Now run: phpunit --verbose GoogleTest C:/Tests/GoogleTest.php &lt;br /&gt;
10. Remember the class name GoogleTest must be the same as the class name defined in the GoogleTest.php&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=118517"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=118517" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/Saqib/aggbug/118517.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Tanzim Saqib</dc:creator>
            <guid>http://geekswithblogs.net/Saqib/archive/2008/01/14/setting-up-php-environment-for-selenium.aspx</guid>
            <pubDate>Mon, 14 Jan 2008 20:43:53 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/Saqib/comments/118517.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/Saqib/archive/2008/01/14/setting-up-php-environment-for-selenium.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/Saqib/comments/commentRss/118517.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/Saqib/services/trackbacks/118517.aspx</trackback:ping>
        </item>
    </channel>
</rss>