Showing posts with label testing tools. Show all posts
Showing posts with label testing tools. Show all posts

Thursday, September 2, 2010

running selinium test case using PHP


Here is the step by step process to run a selenium test case from the PHP program.

Step 1: Download Selenium from the site http://seleniumhq.org/download/

Step 2: unzip it in the document root of the server.In my case it is /var/www/

Step 3: start the selenium server.
seek for the folder selenium-server-1.0.3 [in my case version is 1.0.3].
go to the directory mentioned above and start the server by issuing following command from command line.
java -jar selenium-server.jar
you can see the following output shown in the above picture.

Step 4: run the test program supplied in the zip file.In my case php program GoogleTest.php under the directory selenium-php-client-driver-1.0.1
after running you would be able to see browser open for selenium giving session id for the test and google web page in other browser. [In my case firefox.].see the attached image.

That's it for now.

Wednesday, March 25, 2009

Testing web Application


Nowadays lot's of effort is gone for testing and quality assurance of the web application which can be minimized by using web based testing tools available on the web.

There are lot's of Ad-ons available for mozila firfox for different kind of the testing which Includes such as iMacros for Firefox, WASP, Fireshot, Window Resizer, Selenium IDE, Web Developer, SwitchProxy, IE Tab, Molybdenum, HackBar, and many more.

Selenium IDE
is an integrated development environment for Selenium tests.allows you to record, edit, and debug tests.You can choose to use its recording capability, or you may edit your scripts by hand.

Web Developer The Web Developer extension adds a menu and a toolbar to the browser with various web developer tools. It is designed for Firefox, Flock and Seamonkey, and will run on any platform that these browsers support including Windows, Mac OS X and Linux.

Hackbar allow you to test your web pages against sql injections, XSS holes and site security.It is not used for executing standard exploits.

These are few ad-ons which I use and It help me as a developer/tester to test website more rapidly.