presented by: brent strange browser compatibility testing risk analysis learn the art of trimming...

24
Presented By: Brent Strang Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing your users, understanding how the browser works, OS & browser facts versus misconceptions, and grouping browsers by common component versions to remove redundancy.

Upload: tyree-launder

Post on 30-Mar-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Presented By: Brent Strange

Browser Compatibility Testing Risk Analysis

Learn the art of trimming browsers from a browser compatibility test list by knowing your users, understanding how the browser works, OS & browser facts versus misconceptions, and grouping browsers by common component versions to remove redundancy.

Page 2: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Agenda

• Browser History• Who are your users?• Understand The Browser• Understand how browsers differ• Using the Browser Cheat Sheet• Your turn… A Challenge• Browser fact vs. fiction• So what is a browser compatibility defect?• Manage Risk• Questions

Page 3: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

The History

Page 4: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Browser Statistics

43%

32%

16%4%

3%1% 1%

Browser Version Market Share (01/2008)

Internet Explorer 7.0Internet Explorer 6.0Firefox 2.0Safari 3.0OtherSafari 41Opera 9.x

Source: marketshare.com

Page 5: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

The Task At Hand

..b.. b.. but that’s over 20 released versions…

I want you to test our site with FireFox 1.0 – 2.0 by the end of day!

Page 6: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

How Do You Tackle Testing This?

Page 7: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

The Browser Dissected

Layout Engine

JavaScript Engin

e

Plugins

Shell Featu

res

Page 8: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Component: Layout Engine

Layout Engine

Page 9: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Component: Shell Features

Shell Features

Page 10: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Component: JavaScript Engine

JavaScript Engine

Page 11: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Component: Plugins

Plugins

Page 12: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Component Differences

Internet Explorer•Layout Engine: Trident•JavaScript Engine: JScript

FireFox•Layout Engine: Gecko•JavaScript Engine: SpiderMonkey

Netscape•Layout Engine: Gecko•JavaScript Engine: SpiderMonkey

Opera•Layout Engine: Presto•JavaScript Engine: linear_b, futhark

Safari•Layout Engine: KHTML•JavaScript Engine: WebKit (Webcore & JavaScriptCore)

Page 13: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

The Browser Cheat Sheet

Page 14: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Removing Browser Redundancy

FireFox 2.0.0

FireFox2.0.0.5

FireFox 2.0.0.11

FireFox2.0.0.11

Page 15: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Removing OS Redundancy

IE 6Ser 2003

IE 6 WinXP

IE 6Win2000

IE 6 WinXP

Page 16: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Determine the Test Matrix

Page 17: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Back to: The Task At Hand

End of day?! Hah...I’ll have it done in 2 hours.

I want you to test our site with FireFox 1.0 – 2.0 by the end of day!

Page 18: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Challenge: One small change?

I only changed 1 line of JavaScript code

Response.Write( Math.Round(3.1415) );to

Response.Write( Math.PI );

Page 19: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Determine the Test Matrix

Page 20: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Browser Fact vs. Fiction

Page 21: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Find Browser Compatibility Defects

So…what is a browser compatibility defect?

Page 22: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Manage Risk

• Set Expectationso Define Browser Assumptionso Define OS Assumptions

• Define the browser list to be tested• Defend your strategy with facts

Page 23: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

Questions

Page 24: Presented By: Brent Strange Browser Compatibility Testing Risk Analysis Learn the art of trimming browsers from a browser compatibility test list by knowing

About

Download this presentation and handouts at:

http://QAInsight.net