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

Mar 11, 2010

Firefox Add-ons - Very useful for testing

Introduction

This article highlights the usage of Firefox add-ons which are useful for testing various Web applications. Firefox is one of the most important browsers for testers working in Web application domain. Specially, with all the add-ons around it, Firefox is certainly essential for testing Web applications. There are add-ons useful for security testing, analyzing page source, accessibility, debugging and pretty much everything you need for Web application testing.

Though IE is the most prominent browser used for browsing through internet, Firefox is catching up fast. Most of the Web developers and Testers use Mozilla Firefox due its user friendly features, add-ons and usability which make life easier for them. Mozilla Firefox is a free and open source Web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation as of January 2010, Firefox had 21% of the recorded usage share of Web browsers.

clip_image002[4]

Why FIREFOX Add-ons for Testing?

Firefox is an open source Web browser and the rate of development of various add-ons covering a wide variety of Web-age development and testing is very high. The variety of Add-ons provided by Firefox is just amazing due to the below factors:

1. Easy to use.

2. Provides even the minute things in detail.

3. Makes life easy for developers to debug, edit and troubleshoot while building Web-pages.

4. Testers find them easy for debugging.

5. Free download.

Apart from the above rich features, the add-ons can be used in various testing types like Security testing, Compatibility, Functional and Scalability testing. No other browser can even try to compete with Firefox add-ons. Knowing the complete list of add-ons would be a dream come true but utilizing the useful add-ons for testing our Web application should be good enough.

Important Add-ons

Picking up the correct add-on to test a feature is very important. Since there are hundreds of add-ons provided by Mozilla Corporation, some time has to be spent for selecting the best add-ons which suits our requirements. Picking up a few important add-ons to explain is also tough since each add-on cover its own area of Web testing. The below list should cover the basic Add-ons which help us in testing our application:

  • Http Fox.
  • Fire Bug.
  • Measure IT.
  • Add N Edit Cookie.
  • IE Tab.
  • Flash Tracer.

Lets look into the features provided by each add-on in detail.

Http FOX

  • Used in incoming and outgoing HTTP traffic between the browser and the Web servers.
  • Download Link
  • Very much helpful in Functional testing

Description:

HttpFox monitors and analyzes all incoming and outgoing data between browser and the Web server. It enables us to profile Web server responses and dig into the headers to check out cookies involved in the requests as well as POST parameters. We need to install the application and Start the recording to analyze the data transmitted.

HttpFox add-on can also capture and reveal the following information’s:

  • Time and duration of the query
  • HTTP status codes
  • HTTP method (POST/GET)
  • Duration of the query
  • Size
  • Type
  • URL
  • Caching information

Each request has details like:

-URL: URL used to make the GET, POST, PUT methods.

-Type: Type of data being exchanged between the browser and server.

Typical examples are “text/html”, “image/gif” ,text/javascript” ,”image/png” .

-Result Code: Result code indicates the status of the HTTP call made. Fore more on result codes, please visit http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html.

-Method: Type of method made. (GET, POST, PUT, DELETE etc) .

For more on methods, please visit http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html.

-Start Time, Time – Time data provided to analyze the performance of the call.

-Sent, Received –Data transmitted

Information available per request includes:

- Request and response headers:

Explains the details of the headers used in the requests and responses made.

- Sent and received cookies

The details of the transmitted cookies between browser and server are listed here.

- Query string parameters

The Parameters sent to the server while making calls to retrieve data.

- POST parameters

Posted data in the HTTP call sent to the server.

- Response body (Raw and pretty)

The response sent from the server to the browser.

In addition to the above, the HttpFox has features to

1. Start and Stop recording.

2. Clear the call history.

3. Filter the calls.

4. Auto scroll.

5. Drop down to enable/disable the required data in the HTTP call.

clip_image002[6]

Add N Edit Cookie

  • Typical Add-on used to add new cookies, editing of both saved and live session cookies stored in a browser.
  • Download Link
  • Helpful in Security testing.

Description:

As the name suggests the Add N Edit cookie helps us in add, edit and delete a cookie. This tool is pretty much helpful in testing the cookie value and dependencies between the different cookies in a single Web application. This Tool provides flexibility to set a new value to a cookie by providing name, content, host and path information as well as new expiration time for a cookie which basically helps us in cookie validation and testing the session stability/expiry.

This tool has buttons to

1. Edit the cookie.

2. Add a new cookie.

3. Delete a cookie.

4. Filter helpful in finding a particular cookie.

clip_image002[8]

clip_image002[10]

Fire Bug

  • A great add on which is helpful in debugging the CSS, HTML, SCRIPT and Http traffic on the Web page.
  • Download Link
  • Very much helpful in Functional testing.

Description:

Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. One can edit, debug, and monitor CSS, HTML, and JavaScript live in any Web page.

When installed on fire fox, it basically looks like a bug symbol in the bottom left hand corner. The add-on completely explains the total CSS part of the Web page. Basically helpful for developers in designing the Web page. Testers can be used to test the various Web elements in the page. Using the element inspector we can easily find out properties of any element in the page. Using the NET tab, we can observe all the HTTP calls made on the page.

clip_image002[12]

Fire bug is very useful in finding out all the JS errors on the page for testers. It basically provides us the environment where we can edit the script of page and view how our changes affect the layout of the page. This particular add on is used by a very large set of audience.

IE Tab

  • IE Tab allows users to view pages using the Internet Explorer rendering engine from within Firefox.
  • Download Link
  • Very much helpful in Compatibility testing.

Description:

This is an interesting add on which helps viewing an IE version Web page in Firefox browser. This will help both developers and testers in unit testing and compatibility testing. Developers can see the developed Web page in an IE browser. Testers can use this IE tab to view the page in FF so that at the same time can use many add-ons supported by Firefox which makes them easy for testing.

The IE Tab basically shows up a small Firefox icon in the bottom left hand corner of the page and has 3 options:

1. Left click of mouse to switch rendering engine of current page.

2. Center click to open the same page in a new tab.

3. Right click to open the IE tab options window.

clip_image002[14]

MeasureIT

  • Used in incoming measuring the element dimensions in pixels.
  • Download Link
  • Very much helpful in Compatibility testing

Description:

A typical measuring device, helpful in measuring dimensions of a Web page element. Once added to Firefox, the MeasureIT looks like a small ruler in the bottom left hand corner on the page. All we need to do is, click on the ruler and drag the ruler around the element to measure its dimensions. The dimensions will be provided in pixels as shown in below screen shots.

The ruler can be used in measuring both horizontal and vertical elements through a simple click. We need to click on the same ruler to de-activate the MeasureIT add-on.

clip_image002[16]

Flash Tracer

  • Used in to analyze the flash actions performed in a Web browser.
  • Download Link
  • Very much helpful in flash application testing.

Description:

The flash Tracer works along with the adobe flash debugger and informs the users about the various actions, warnings, errors performed by a flash application on a Web page.

Install the Flash debugged from Adobe and Flash tracer adds on to make the flash tracer working. Once the flash tracer is installed, we can see the flash errors reported in form of errors.

Error debugging becomes much easier with Flash tracer for Testers. Flash tracer will be available in Tool section in the browser.

clip_image002[18]

Conclusion

So, in the above discussion we have seen some excellent add-ons provided in Firefox. The details provided while help us to use the add-ons in Web based testing. Although the list provided does not contain the total list, it will surely help us in testing a wide range of features in the Web application.

If you are testing a Web application, it is better to test the functional testing in fire fox first and then move for IE. This is easier than trying the other way round.

References

Firefox Add-ons - Very useful for testing

Introduction

This article highlights the usage of Firefox add-ons which are useful for testing various Web applications. Firefox is one of the most important browsers for testers working in Web application domain. Specially, with all the add-ons around it, Firefox is certainly essential for testing Web applications. There are add-ons useful for security testing, analyzing page source, accessibility, debugging and pretty much everything you need for Web application testing.

Though IE is the most prominent browser used for browsing through internet, Firefox is catching up fast. Most of the Web developers and Testers use Mozilla Firefox due its user friendly features, add-ons and usability which make life easier for them. Mozilla Firefox is a free and open source Web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation as of January 2010, Firefox had 21% of the recorded usage share of Web browsers.

clip_image002[4]

Why FIREFOX Add-ons for Testing?

Firefox is an open source Web browser and the rate of development of various add-ons covering a wide variety of Web-age development and testing is very high. The variety of Add-ons provided by Firefox is just amazing due to the below factors:

1. Easy to use.

2. Provides even the minute things in detail.

3. Makes life easy for developers to debug, edit and troubleshoot while building Web-pages.

4. Testers find them easy for debugging.

5. Free download.

Apart from the above rich features, the add-ons can be used in various testing types like Security testing, Compatibility, Functional and Scalability testing. No other browser can even try to compete with Firefox add-ons. Knowing the complete list of add-ons would be a dream come true but utilizing the useful add-ons for testing our Web application should be good enough.

Important Add-ons

Picking up the correct add-on to test a feature is very important. Since there are hundreds of add-ons provided by Mozilla Corporation, some time has to be spent for selecting the best add-ons which suits our requirements. Picking up a few important add-ons to explain is also tough since each add-on cover its own area of Web testing. The below list should cover the basic Add-ons which help us in testing our application:

  • Http Fox.
  • Fire Bug.
  • Measure IT.
  • Add N Edit Cookie.
  • IE Tab.
  • Flash Tracer.

Lets look into the features provided by each add-on in detail.

Http FOX

  • Used in incoming and outgoing HTTP traffic between the browser and the Web servers.
  • Download Link
  • Very much helpful in Functional testing

Description:

HttpFox monitors and analyzes all incoming and outgoing data between browser and the Web server. It enables us to profile Web server responses and dig into the headers to check out cookies involved in the requests as well as POST parameters. We need to install the application and Start the recording to analyze the data transmitted.

HttpFox add-on can also capture and reveal the following information’s:

  • Time and duration of the query
  • HTTP status codes
  • HTTP method (POST/GET)
  • Duration of the query
  • Size
  • Type
  • URL
  • Caching information

Each request has details like:

-URL: URL used to make the GET, POST, PUT methods.

-Type: Type of data being exchanged between the browser and server.

Typical examples are “text/html”, “image/gif” ,text/javascript” ,”image/png” .

-Result Code: Result code indicates the status of the HTTP call made. Fore more on result codes, please visit http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html.

-Method: Type of method made. (GET, POST, PUT, DELETE etc) .

For more on methods, please visit http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html.

-Start Time, Time – Time data provided to analyze the performance of the call.

-Sent, Received –Data transmitted

Information available per request includes:

- Request and response headers:

Explains the details of the headers used in the requests and responses made.

- Sent and received cookies

The details of the transmitted cookies between browser and server are listed here.

- Query string parameters

The Parameters sent to the server while making calls to retrieve data.

- POST parameters

Posted data in the HTTP call sent to the server.

- Response body (Raw and pretty)

The response sent from the server to the browser.

In addition to the above, the HttpFox has features to

1. Start and Stop recording.

2. Clear the call history.

3. Filter the calls.

4. Auto scroll.

5. Drop down to enable/disable the required data in the HTTP call.

clip_image002[6]

Add N Edit Cookie

  • Typical Add-on used to add new cookies, editing of both saved and live session cookies stored in a browser.
  • Download Link
  • Helpful in Security testing.

Description:

As the name suggests the Add N Edit cookie helps us in add, edit and delete a cookie. This tool is pretty much helpful in testing the cookie value and dependencies between the different cookies in a single Web application. This Tool provides flexibility to set a new value to a cookie by providing name, content, host and path information as well as new expiration time for a cookie which basically helps us in cookie validation and testing the session stability/expiry.

This tool has buttons to

1. Edit the cookie.

2. Add a new cookie.

3. Delete a cookie.

4. Filter helpful in finding a particular cookie.

clip_image002[8]

clip_image002[10]

Fire Bug

  • A great add on which is helpful in debugging the CSS, HTML, SCRIPT and Http traffic on the Web page.
  • Download Link
  • Very much helpful in Functional testing.

Description:

Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. One can edit, debug, and monitor CSS, HTML, and JavaScript live in any Web page.

When installed on fire fox, it basically looks like a bug symbol in the bottom left hand corner. The add-on completely explains the total CSS part of the Web page. Basically helpful for developers in designing the Web page. Testers can be used to test the various Web elements in the page. Using the element inspector we can easily find out properties of any element in the page. Using the NET tab, we can observe all the HTTP calls made on the page.

clip_image002[12]

Fire bug is very useful in finding out all the JS errors on the page for testers. It basically provides us the environment where we can edit the script of page and view how our changes affect the layout of the page. This particular add on is used by a very large set of audience.

IE Tab

  • IE Tab allows users to view pages using the Internet Explorer rendering engine from within Firefox.
  • Download Link
  • Very much helpful in Compatibility testing.

Description:

This is an interesting add on which helps viewing an IE version Web page in Firefox browser. This will help both developers and testers in unit testing and compatibility testing. Developers can see the developed Web page in an IE browser. Testers can use this IE tab to view the page in FF so that at the same time can use many add-ons supported by Firefox which makes them easy for testing.

The IE Tab basically shows up a small Firefox icon in the bottom left hand corner of the page and has 3 options:

1. Left click of mouse to switch rendering engine of current page.

2. Center click to open the same page in a new tab.

3. Right click to open the IE tab options window.

clip_image002[14]

MeasureIT

  • Used in incoming measuring the element dimensions in pixels.
  • Download Link
  • Very much helpful in Compatibility testing

Description:

A typical measuring device, helpful in measuring dimensions of a Web page element. Once added to Firefox, the MeasureIT looks like a small ruler in the bottom left hand corner on the page. All we need to do is, click on the ruler and drag the ruler around the element to measure its dimensions. The dimensions will be provided in pixels as shown in below screen shots.

The ruler can be used in measuring both horizontal and vertical elements through a simple click. We need to click on the same ruler to de-activate the MeasureIT add-on.

clip_image002[16]

Flash Tracer

  • Used in to analyze the flash actions performed in a Web browser.
  • Download Link
  • Very much helpful in flash application testing.

Description:

The flash Tracer works along with the adobe flash debugger and informs the users about the various actions, warnings, errors performed by a flash application on a Web page.

Install the Flash debugged from Adobe and Flash tracer adds on to make the flash tracer working. Once the flash tracer is installed, we can see the flash errors reported in form of errors.

Error debugging becomes much easier with Flash tracer for Testers. Flash tracer will be available in Tool section in the browser.

clip_image002[18]

Conclusion

So, in the above discussion we have seen some excellent add-ons provided in Firefox. The details provided while help us to use the add-ons in Web based testing. Although the list provided does not contain the total list, it will surely help us in testing a wide range of features in the Web application.

If you are testing a Web application, it is better to test the functional testing in fire fox first and then move for IE. This is easier than trying the other way round.

References

Sep 29, 2009

Does firefox make money?

There is no ad; it's a freeware. It doesn't make sense to make a software for free, or is it?

Answers:
Firefox is based on an open source project, basically what that means is, there is no intial devloper, like some guys a company pays to work on it for them, instead its written my a community of programmers from the entire world! There are many reasons for devloping open source, although not for money (although must do accept donations, and you can buy shirts and stuff), the project can be used on a resume for a job, and the code can be updated at anytime by anyone, anyone can make a mod to it and realase it to the internet so anyone can download it, all for free. The support you get can be VERY limited though, usually you will get help though help forums...meaning that most of the time, you'll actually have to know exactly what your looking for. Open source projects dont focus to benfit indviduals, but rather to benift the community.


Actually they made millions from google, by making google the default search engine
http://news.zdnet.co.uk/0,39020330,39189475,00.htm

And that why the mozilla foundation becomes a corporation last year since its legally no longer a a non-profit organization any more accorrding to the american law.

Does firefox make money?

There is no ad; it's a freeware. It doesn't make sense to make a software for free, or is it?

Answers:
Firefox is based on an open source project, basically what that means is, there is no intial devloper, like some guys a company pays to work on it for them, instead its written my a community of programmers from the entire world! There are many reasons for devloping open source, although not for money (although must do accept donations, and you can buy shirts and stuff), the project can be used on a resume for a job, and the code can be updated at anytime by anyone, anyone can make a mod to it and realase it to the internet so anyone can download it, all for free. The support you get can be VERY limited though, usually you will get help though help forums...meaning that most of the time, you'll actually have to know exactly what your looking for. Open source projects dont focus to benfit indviduals, but rather to benift the community.


Actually they made millions from google, by making google the default search engine
http://news.zdnet.co.uk/0,39020330,39189475,00.htm

And that why the mozilla foundation becomes a corporation last year since its legally no longer a a non-profit organization any more accorrding to the american law.

Sep 22, 2009

Javascript Debug Toolkit – Debug javascript in ie,firefox,chrome,safari,opera and all browsers support ajaxToo

Javascript Debug Toolkit is a software can debug javascript in ie,firefox,safari,chrome,opera,mobile ie browser,mobile opera browser and so on .It works in all the browser support ajax.

Browser support of debug tools



software\browser
IE
Firefox
chrome
opera
safari
Mobile Browser
Other
VS.NET







Firebug/Venkman







Aptana







Netbeans







MyEclipse







JSDT








There are two versions of jsdt - Standalone and Eclipse Plugin

http://code.google.com/p/jsdt/

Project Owner : ayound

Related references :

http://vinaytech.wordpress.com/2009/02/24/closuresandiecircular/

Javascript and Web Performance Tools

AOL Page Test

Open source tool for measuring and analyzing web page performance using Internet Explorer.

Cuzillion

Tool for quickly constructing web pages to see how components interact and how behavior differs across browsers, sometimes in unexpected ways. Also lets you share sample pages with others.

Fiddler 2

Web debugging proxy which logs all HTTP/S traffic between your computer and the Internet. Inspect HTTP/S traffic, set breakpoints, and "fiddle" with incoming or outgoing data.

Firebug

Firefox Add-on that lets you edit, debug, and monitor CSS, HTML, and JavaScript live in any web page.

Hammerhead

Firebug Add-on for measuring the load time of web pages.

httperf

Tool for generating HTTP workloads and measuring web server performance, and constructing micro- and macro-level benchmarks.

HttpWatch

HTTP viewer and debugger integrated with IE and Firefox to provide HTTP/S monitoring without leaving the browser window.

IBM Page Detailer

Graphical tool that assesses web page performance and provides details include the timing, size, and identity of each item in a page.

JSLint

Tool that looks for code quality problems in JavaScript programs.

JSMin

Filter which removes comments and unnecessary whitespace from JavaScript files.

Microsoft VRTA

Tool that visualizes web page download, identifies areas for performance improvements, and recommends solutions.

mon.itor.us

Provides a personalized Ajax dashboard interface, checks server performance and availability, generates uptime reports, tracks visitors, checks CPU, memory and other systems resources, and alerts when it detects abnormalities.

OOCSS

Development environment and framework for creating fast, reusable CSS objects and modules.

Pylot

Open source tool for testing the performance and scalability of web services. It runs HTTP load tests, verifies server responses, and produces reports with metrics.

Smush It

Online tool that allows you to upload images for lossless compression and optimization. Provides a report of bytes saved and downloads a zip file containing the optimized versions of the files.

Wbox

Performs various tests, including page load benchmarking, web server and web application stress testing, and verifies correct configuration of virtual domains configuration, redirects, and HTTP compression.

Yahoo! YSlow

Firefox/Firebug Add-on that analyzes web pages and suggests ways to improve their performance, based on a set of rules for high performance web pages.

YUI Compressor

JavaScript minifier designed to yield a higher compression ratio than other tools.

Web Developer

firefox addons : The Web Developer extension adds a menu and a toolbar with various web developer tools.

NetTool

NetTool is a developer tool for monitoring and manipulating application-level network messages, particularly useful for debugging web applications and web services. There are two components to NetTool: the HTTP Client, and the TCP Tunnel.

Yet Another Process Monitor (YAPM)

Yet Another Process Monitor (YAPM) is a powerful aplication for Windows XP/Vista that monitors the processes running on your system. You can manage their threads, windows, handles, modules, network connections... YAPM also monitors all services running.

Angry IP Scanner

Angry IP scanner is fast and friendly network scanner for Windows, Linux, and Mac. It is very extensible, allowing it to be used for very wide range of purposes, with the primary goal of being useful to network administrators.

Website Analyzer and Link Checker

  • HTML and CSS validate all pages within a website.
  • Have link checker tool find broken links and broken redirects.
  • Analyze file sizes, response codes, download times etc. of all pages.
  • Optimize internal linking to focus link juice on pages you want indexed.
  • Analyze your entire website to find website and crawler problems.
  • Fix link juice flow, broken links, file sizes, CSS and HTML errors etc.

Internet Explorer Developer Toolbar [supports IE 6.x & 7.x]

The Internet Explorer Developer Toolbar provides several features for exploring and understanding Web pages. These features enable you to:

  • Explore and modify the document object model (DOM) of a Web page.
  • Locate and select specific elements on a Web page through a variety of techniques.
  • Selectively disable Internet Explorer settings.
  • View HTML object class names, ID's, and details such as link paths, tab index values, and access keys.
  • Outline tables, table cells, images, or selected tags.
  • Validate HTML, CSS, WAI, and RSS web feed links.
  • Display image dimensions, file sizes, path information, and alternate (ALT) text.
  • Immediately resize the browser window to a new resolution.
  • Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.
  • Display a fully featured design ruler to help accurately align and measure objects on your pages.
  • Find the style rules used to set specific style values on an element.
  • View the formatted and syntax colored source of HTML and CSS.
JavaScript Memory Leak Detector

JavaScript Memory Leak Detector (download) is a debugging tool to detect memory leaks in JavaScript code. It can be installed as an Internet Explorer band and it is expressly designed to find memory leaks in JavaScript code that runs in Internet Explorer

JavaScript

FAQ

ECMAScript

Wikipedia entry

TwinHelix - components

Bindows - application design

Flapjax - new JavaScript

Google Maps

Matt Kruse scripts

HTMLArea - WYSIWYG editors

Yahoo! UI

Tween

html editors

TinyMCE - clean, modifiable, my choice

FCKeditor - rich, improved

htmlArea - oldest, forked to Xinha, stalled

IDEs

Aptana - like MS Expression?

Tibco IDE - InfoWorld Bossie 07

Javascript libraries

Google Ajax libraries API - simplify your includes

Dojo, Dijit, DojoX - InfoWorld Bossie 07

Adobe Spry

ExtJS - very slick

ThinWire - lightweight

DWRUtil

Yahoo!

MochiKit

Raphaël - graphics in SVG / VML

SVG-VML-3D - 3d graphics

Prototype based

Script.aculo.us - faster than Dojo

MooTools - docs

Rico

Protoflow - coverflow effect

jQuery

JQuery - popular, books, back button issue, LearningJQuery

JQuery API docs - Remy Sharp, VisualJQuery

jQuery Sifr Plugin - use Flash fonts on web pages

jQuery Flash Plugin - SWFObject replacement

Glimmer - online effects tool

Compiles to JavaScript

haXe - client/server to JS, Flash, or Neko

Google Web Toolkit - Java

Ajax

Ajax magazine

Google AJAX Search API (REST)

Open Ajax Alliance - standards

AjaxWorld magazine

Open Ajax Alliance

Ajaxian - portal

JSP Controls

jMaki - framework for JSP/JSF

Lightstreamer - free push server

RPC based Ajax libraries

DWR

JSON-RPC-Java

Tag based Ajax libraries

AjaxTags

AjaxAnywhere

jMaki - five libraries, Glassfish project, includes chat

ZK Framework - #1 SourceForge Ajax project

Portals

Noupe

Mashups

JSONP, JQuery, YQL - Part 1, Part 2

If you know any other tools, please add.

Text Widget

Copyright © Vinay's Blog | Powered by Blogger

Design by | Blogger Theme by