Top Banner
The Future of Web App Testing and How to Stop It @jhuggins Jason Huggins [email protected] seleniumhq.org | saucelabs.com {‘jschi’ : new Date("May 28, 2009")}
33

The Future Of Web App Testing and How To Stop It

Jan 29, 2015

Download

Technology

hugs

Jason Huggins' presentation at JavaScript Chicago on 28 May 2009. The talk's titled "The Future of Web App Testing and How to Stop It" The first part was a brief history of the Selenium project. The second part was talking about the canvas tag and canvas based apps. The punchline is that canvas-tag based apps are untestable using traditional DOM-based introspection techniques. Developers need to be aware to make their canvas-based apps testable in their designs. And yes, canvas is the future of the web, and therefore the future of web testing.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Future Of Web App Testing and How To Stop It

The Future of Web App Testing

and How to Stop It@jhuggins

Jason [email protected]

seleniumhq.org | saucelabs.com

{‘jschi’ : new Date("May 28, 2009")}

Page 2: The Future Of Web App Testing and How To Stop It

But First...

A Brief History Of Web Testing

Page 3: The Future Of Web App Testing and How To Stop It

Why Selenium?

Page 4: The Future Of Web App Testing and How To Stop It

Browser Wars II

6, 7 & 8

9.61.0

2, 3 3, 4 beta

Page 5: The Future Of Web App Testing and How To Stop It

Test Automation

Source: - F.O.X.: http://www.flickr.com/photos/kv/499219/

Page 6: The Future Of Web App Testing and How To Stop It

Large tests

Page 7: The Future Of Web App Testing and How To Stop It

Dynamic HTML - Ajax

Page 8: The Future Of Web App Testing and How To Stop It

End-to-end Workflows

Page 9: The Future Of Web App Testing and How To Stop It

Any browser - Any platform

Page 10: The Future Of Web App Testing and How To Stop It

Selenium Cumulative Downloads

Page 11: The Future Of Web App Testing and How To Stop It

Firms with: 100+ downloads January – October 2008

Page 12: The Future Of Web App Testing and How To Stop It

Why not Selenium ?

Page 13: The Future Of Web App Testing and How To Stop It

Small tests

Page 14: The Future Of Web App Testing and How To Stop It

Anything outside the JavaScript sandbox

Source: http://lug.mtu.edu/wiki/images/2/27/SANDBOX.jpg

Page 15: The Future Of Web App Testing and How To Stop It

Flash, Java Applets, Silverlight, PDF

Source: http://goldberg.berkeley.edu/art/big-images/doi-box-hi-res.jpg

Page 16: The Future Of Web App Testing and How To Stop It

Example?

Page 17: The Future Of Web App Testing and How To Stop It

ThoughtWorks Time & Expense

Source: - Neal Ford: http://nealford.com/downloads/conferences/2006_nfjs_canonical/Neal_Ford-Testing_with_Selenium-slides.pdf

Page 18: The Future Of Web App Testing and How To Stop It

Selenium IDE

Page 19: The Future Of Web App Testing and How To Stop It

Selenium IDE for Firefox

Page 20: The Future Of Web App Testing and How To Stop It

SeleniumRemote Control

Page 21: The Future Of Web App Testing and How To Stop It

Selenium Remote Control

Source: - http://www.dkimages.com/discover/previews/824/5100491.JPG

Page 22: The Future Of Web App Testing and How To Stop It

Selenium Remote Control

Page 23: The Future Of Web App Testing and How To Stop It

Selenium Grid

Page 24: The Future Of Web App Testing and How To Stop It

Selenium Grid

Source: - http://factoryjoe.com/blog/wp-content/uploads/2006/10/pods.jpg

17

Which is faster? (1 server, sequential tasks)

Time

Servers

1

2

3

4

Page 25: The Future Of Web App Testing and How To Stop It

25

18

Which is faster? (4 servers, parallel tasks)

Time

Servers

1

2

3

4

Page 26: The Future Of Web App Testing and How To Stop It

p13y.com

Source: - http://www.flickr.com/photos/onetreehillstudios/2958752337/

Page 27: The Future Of Web App Testing and How To Stop It

And Now...

Page 28: The Future Of Web App Testing and How To Stop It

The Future (which only you can prevent)

Page 29: The Future Of Web App Testing and How To Stop It

Source: http://goldberg.berkeley.edu/art/big-images/doi-box-hi-res.jpg

Page 30: The Future Of Web App Testing and How To Stop It

<canvas>

</canvas>

Page 31: The Future Of Web App Testing and How To Stop It

Example!

Page 32: The Future Of Web App Testing and How To Stop It