Thursday, August 05, 2010
Three Ways to Run Multiple Versions of Internet Explorer and Firefox
Recently I worked on a project that had to support six different browsers; three versions of Firefox (1 through 3) and three versions of Internet Explorer (6, 7, 8). Right away this raised a few questions, and one of the more interesting ones was about testing:
What is the optimal environment for testing two browsers at three versions each?
This is an interesting issue because browsers are not designed to allow more than one version to be installed at once. This makes sense for users — it would be confusing and insecure for them to use an older version by accident — but it's traditionally a big hassle for web developers. It's important for us to be able to test our changes on multiple browsers because different versions of the same browser may not render the same code the same way, and it's important to catch and fix these bugs.
To answer this question, our team of myself (a developer) and two quality assurance experts did some brainstorming and each of us actually came up with our own solution. Here are the three options we considered:
Multiple VMs
This was our senior QA's suggestion. Set up three virtual machines, and on each machine, install a different version of Internet Explorer and Firefox.
Advantages:
- Tried, tested and true. This is a standard QA practice and has been in use for years.
- Can run all six browsers simultaneously (good if we want to test in parallel)
Disadvantages:
- There is some overhead involved in setting up and keeping track of three VMs.
- Three VMs will need to run on their own machine, so an extra box or some server space is needed.
VM Snapshots
This was our other QA's suggestion, which I thought was quite novel. The process goes like this: create a virtual machine and install IE6 and FF1, then take a snapshot (something the VM can revert to upon request). Now, upgrade the browsers to IE7/FF2 and take another snapshot, and perform the final upgrade to IE8/FF3 and take a third snapshot. By toggling between the three snapshots, all six browsers can be tested using only one VM.
Advantages:
- Only one VM is required, so there is less overhead.
- Since there is only one VM, it's possible to run the VM on a developer or QA's machine in a pinch.
Disadvantages:
- Can only test one version of each browser at a time.
- There is probably still a need for some shared machine space to host the VM.
Hack it Together
Predictably, this was the developer's solution (mine). I've used a slightly-unstable beta product called IETester in the past, which allows testing multiple versions of Internet Explorer simultaneously. This meant all I needed was a solution for Firefox, and after some searching I found an outline of how to install multiple versions of FF.
Advantages:
- No virtual machine overhead.
- Everything can be run as needed on the developer's machine.
Disadvantages:
- Highly technical: Setting up and maintaining this environment is not for the faint of heart.
- Can only run one version of FF at a time (though IE can be done in parallel).
Given these options, we decided that the best match for our project's needs was to use VM Snapshots on the quality assurance side, and the hacked-together solution on the development side. The low overhead was a big plus, especially for development, and it was important that QA was able to reliably test real versions of each browser. This worked out well for us, and I would definitely use such methods again.
Have you used these or similar solutions in the past? Are there other solutions out there that we don't know about? Let us know in the comments.
Labels: Browsers, Firefox, Internet Explorer, QA
This is enough for me. I want to write software that anyone can use, and virtually everyone who has an internet connected device with a screen can use apps written in JavaScript. JavaScript Training in Chennai JavaScript was used for little more than mouse hover animations and little calculations to make static websites feel more interactive. Let’s assume 90% of all websites using JavaScript use it in a trivial way. That still leaves 150 million substantial JavaScript Training in Chennai JavaScript applications.
Punjabi Call Girls in Jaipur | Jaipur Escort | Independent Jaipur Escorts | Independent Escorts in Jaipur | Jaipur Escorts Agency
mobile app development company in delhi
Mobile app development company in mumbai
Facebook Features: Tracking, Ads and More
MyBlogger Club
Guest Posting Site
Best Guest Blogging Site
Guest Blogger
Guest Blogging Site
Inplant Training for cse
Inplant Training for IT
Inplant Training for ECE Students
Inplant Training for EEE Students
Inplant Training for Mechanical Students
Inplant Training for CIVIL Students
Inplant Training for Aeronautical Engineering Students
Inplant Training for ICE Students
Inplant Training for BIOMEDICAL Engineering Students
Inplant Training for BBA Students
Jupyter Notebook
Jupyter Notebook Online
Jupyter Notebook Install
Automation Anywhere Tutorial
Rpa automation anywhere tutorial pdf
Automation anywhere Tutorial for beginners
Kivy Python
Kivy Tutorial
Kivy for Python
Kivy Installation on Windows
inplant training
inplant training chennai
inplant training in chennai
inplant training at chennai
inplant training
inplant training chennai
inplant training in chennai
inplant training at chennai
inplant training
Inplant Training for cse
best accounting company for small business, international taxation consultant, Ind AS in India , read more , internal auditing assurance consulting india, accountant service.
Data Science Course in Bangalore
Data science training in chennai
Data science training in chennai
service in VIP hotels.and call girls available for booking 24x7 hours IF You
want Physical Relationship any time contact me & ?meet with me to get my
number from website and call
Thank You & Visit Again""_____
Guwahati Call Girl
Call Girl in Guwahati
post, keep blogging.thanks for sharing.
Assamese call girls in guwahati
College escorts in guwahati
Housewife escorts in Guwahati
Nepali escorts in Guwahati
High profile escorts in Guwahati
Escort service in Guwahati
Call girl service in Guwahati
well This is an amazing post, keep blogging.
Guwahati Escorts
Guwahati escort service
escorts in guwahati for female companionship in top rated hotels.
Get affordable escort services in guwahati hotels now.
Guwahati call girl
Guwahati escort service
Make a plan and travel to Guwahati escort and choose here Guwahati call girl service.
It will remove your tension from life and make your life smooth.
Assamese call girls in Guwahati
College escorts in Guwahati
Housewife escorts in Guwahati
Nepali escorts in Guwahati
Escort services in Guwahati
Guwahati escort service
escort services in Guwahati hotels at cheap and affordable fixed rates
Assamese call girls in Guwahati
College call girls in Guwahati
Housewife escorts in Guwahati
Russian escorts in Guwahati
Model escorts in Guwahati
Nepali call girls in Guwahati
High profile call girls in Guwahati
VIP escorts in Guwahati
Female escorts in Guwahati
or Call Girls in Guwahati hotels at cheap and affordable fixed rates.
Call Girl in Guwahati
Guwahati Call Girl
Data Science Course in Pune
Python Classes in Pune
Data Science Course in Hyderabad
Data Science Training in Hyderabad
<< Home