Home > Ask the Software Quality Experts > Software Testing and Quality Assurance Questions & Answers > Browser compatibility testing basics
Ask The Software Quality Expert: Questions & Answers
EMAIL THIS

Browser compatibility testing basics

John Overbaugh EXPERT RESPONSE FROM: John Overbaugh

Pose a Question
Other Software Quality Categories
Meet all Software Quality Experts
Become an Expert for this site


Software quality news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 26 January 2009
What things should I take care of while testing an application in different browser/operating system combinations, i.e., browser compatibility testing?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Software Testing and Quality Assurance
Why do performance testers write new scripts so often?
How to create performance testing workload models
Fixing Web application performance troubleshooting problems
Expert advises on implementation of Selenium IDE for effective software testing
When should regression testing occur in an automated test plan?
Achieving peak performance in integration testing
Getting answers about OpenSTA script problems
Defining core software regression tests
Breaking in functionality on UI application pages
Where to find good methodology guides for software testing

Software testing and quality assurance (QA) fundamentals
How to deal with iteration issues in Agile
Five steps to fostering better software tester and QA results
Software Testing: New software testing technologies bring new challenges
Testing strategies for complex environments
Astronaut's STPCon advice: Teamwork delivers "The Right Stuff"
How to make your software tamperproof
Software consortium seeks standard quality metrics
Demo: Using WebGoat, a free software testing tool
Seven steps for a quality change and configuration management program
Winning responses to "Why is QA always the bottleneck?"

Software regression testing
Software Testing Ezines
When should regression testing occur in an automated test plan?
Defining core software regression tests
How to overcome lackluster software quality through testing
How to approach regression testing, selection of tools and frameworks
How to achieve peak performance during integration testing
Three software regression testing steps can perfect defect fixes
The difference between functional testing and regression testing
TD Ameritrade gets proactive about application performance problems
Two-minute guide to determining software testing coverage

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
build  (SearchSoftwareQuality.com)
code review  (SearchSoftwareQuality.com)
conformance testing  (SearchSoftwareQuality.com)
error handling  (SearchSoftwareQuality.com)
garbage in, garbage out  (SearchSoftwareQuality.com)
load testing  (SearchSoftwareQuality.com)
NUnit  (SearchSoftwareQuality.com)
quality assurance  (SearchSoftwareQuality.com)
stress testing  (SearchSoftwareQuality.com)
white box  (SearchSoftwareQuality.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


Cross-browser is a critical element in Web application testing. The first place to look would be to your customer or project manager to determine if there is a published list of supported browsers. If there is such a list, and it includes multiple browsers, the next step is to determine what percentage of browsers to cover. If your operations team keeps statistics, you can request a browser access report from the site itself -- there's no better information than a relatively fresh list out of the access logs.

If you can't get really accurate log information, and if your project is not limited to a list of supported browsers, your first stop should be W3Schools.com's browser statistics pages. From this list, you'll get a general idea of both the current ratios of browsers, as well as the trends for each. This will help you prioritize your testing.

With an idea of the browsers you want coverage on, the next step is to determine how much coverage. Generally, teams that I work on split browsers into two categories: tier 1 and tier 2. Tier 1 browsers (IE 7 and Firefox would be my tier 1 today) are given equal and full test coverage, whereas tier 2 browsers are given an abbreviated amount of coverage.

Before I prioritize test cases and such, I look at my overall engineering team -- developers and testers. For the most part, each engineer has a preference for which browser to use primarily in development, testing and regression. Sometimes I can achieve 50% coverage right there (although I notice there's a strong tendency for engineers to shun IE and stick with Firefox).

The next step I take is assign coverage. Generally, I'll ask my test team to split coverage so I'm getting equal numbers using IE and Firefox. I then ask each tester to rotate browsers, to ensure their features are adequately covered.

So with coverage questions answered, your next question is about regression testing. I'm going to change the question a bit, to be "Now that I have tier 1 browser coverage, how to I cover tier 2 browsers? What tests need to be run?" The answer here is a bit trickier, but let me take a stab at it. I generally give tier 2 about 10% of my time -- on a two-week project, I'll have my team spend a day running regression tests against tier 2 browsers. This means testers must time-box their testing, and they need to be particular about what tests they run.

Most tier 2 browser bugs are in layout and/or JavaScript, so the first requirement is that testers look at each page in a tier-2 browser and ensure the layout. Depending on your customer and your bar for quality, sometimes "munged" layout (weird page display, poor alignment and such) is acceptable as long as the page functions. Sometimes layout issues are must-fix and require special coding.

The next thing I have my team focus on is any highly interactive JavaScript pages. Ajax and "RIA" (rich Internet application) implementations are the key focus. In general, we won't run many corner case tests -- just straight-up functional, positive case testing here. We're not looking at server code or for server issues at this point (if you find them now, you're too late), but looking for browser rending issues.

A final point of focus is to look at any code that has special-cased certain browsers. You need to make sure the special-casing is applied at the appropriate time, to the correct browser.

That's a high-level overview -- take the principles here and apply them to your daily effort.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Software Quality - Software Maintenance, Software Requirements, Software Standards
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2006 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts