Tanzim Saqib on .NET discovery

Innovate. Create. Share.

  Home  |   Contact  |   Syndication    |   Login
  43 Posts | 0 Stories | 46 Comments | 0 Trackbacks

News

Photo of Tanzim Saqib Tanzim Saqib is a Senior Developer, who spent half of his life on software and worked for many companies like #1 .NET controls provider Telerik Inc, #1 personalized Web 2.0 start-page like Pageflakes (acquired by LiveUniverse). He developed many projects ranging from banking solutions for Citibank, HSBC, Wamu, Wells Fargo etc. to Paperless Virtual University. He is industry's earliest and leading widget developer and as know as "Widget Master" to his peers.

He is a preacher of Microsoft technologies. While he jams with the latest additions to .NET, in his spare time he blogs at http://weblogs.asp.net/TanzimSaqib, maintains his personal website http://www.TanzimSaqib.com, leads .NET Research group. writes articles.

He is an easy going, fun loving, and passionate technology individual who is open to any kind of business opportunity and professional relationship. He currently lives in Bangladesh, but travels anywhere in the world on professional demand.

Email: me at TanzimSaqib dot com

Archives

Post Categories

Personal

If you have gone through configuring Selenium in Windows system by Setting up Selenium RC server in Windows and Setting up PHP in Windows using Abyss server, next thing you need to setup is the Selenium PHP client. Let me show you the steps I've gone through to accomplish this:

1. Open up the console with all administrative privileges especially in Vista
2. Go to the directory where PHP is installed
3. Execute command: php PEAR/go-pear.phar
4. Follow the instructions, and ignore the additional offerings to configure it
5. Install PHPUnit by:
          pear channel-discover pear.phpunit.de
          pear install phpunit/PHPUnit

6. Download Selenium PHP PEAR extension and place into your PHP directory
7. Run: pear install Testing_Selenium-0.4.2.tar
8. Download the sample GoogleTest and assuming you put it in C:\Tests folder
9. Now run: phpunit --verbose GoogleTest C:/Tests/GoogleTest.php
10. Remember the class name GoogleTest must be the same as the class name defined in the GoogleTest.php

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted on Monday, January 14, 2008 2:43 PM

Feedback

# re: Setting up PHP environment for Selenium 11/17/2010 6:55 AM Swarnendu
i have installed phpunit and Testing_Selenium-0.4.2.tar in my hard disk C drive in the wamp server.

i have completed installation successfully, i have put the selenium rc in the c drive selenium folder

according to your suggestion i have put the sample GoogleTest in the Test folder of c drive

now from command prompt i first start the selenium server through this command
C:\selenium\java -jar selenium-server.jar -interactive

after that when i am trying run the googletest script through this command
phpunit --verbose GoogleTest C:/Tests/GoogleTest.php

i am getting error.
so can you please help me how i will run the test script from command promp so that i can check the out put in the browser.


# re: Setting up PHP environment for Selenium 11/18/2010 7:48 PM Ricky
Steps are not very clear for "Setting up PHP environment for Selenium"

# re: Setting up PHP environment for Selenium 7/7/2011 9:06 AM keite
very wrong info

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: