Showing posts with label firefox extension. Show all posts
Showing posts with label firefox extension. Show all posts

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.

Monday, March 23, 2009

Cerating Firefox Extension

Keen about Developing/building firefox extensions?.Well ! It's easy to develop extensions for the firefox.You need to have understanding of XUL and Javascript.
Basically, this POST will introduce you how to create your first firefox extension.

Extensions are packaged and distributed in ZIP files, with the XPI (pronounced “zippy”) file extension.
The basic structure of a XPI package is as follows.
emptySidebar.xpi:
/install.rdf
/install.js
/chrome
|-
emptySidebar.jar

Folder Structure is as follows.
emptySideBar
/install.rdf
/install.js
/chrome
|- content
| |-login.xul
| |-helloworldOverlay.js
| |-content.rdf
|- skin
|- locale

A folder and two files. install.js was all you used to need for the installation, but now that the extension manager has changed (since Firefox 0.9), the install.rdf is used instead.

Chrome foleder contains
another archived file, emptyBar.jar.which has three folder.
content - contains all XUL and related ,JavaScript files and content.rdf file.
skin - contains all layout files like CSS and images used in the XUL files.
locale - contains language specific information.

Once this is done, you are ready to create launcher for your extension.
Step1
go to emptySideBar/chrome/ directory.
zip -r emptySideBar.jar content/ skin/ /locale
cd ..
zip emptySideBar.xpi install.* chrome/captain.jar


Once xpi is created upload it to you server and call it from the firefox mozila.

For more information click here