the future of web app testing and how to stop it
DESCRIPTION
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.TRANSCRIPT
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")}
But First...
A Brief History Of Web Testing
Why Selenium?
Browser Wars II
6, 7 & 8
9.61.0
2, 3 3, 4 beta
Test Automation
Source: - F.O.X.: http://www.flickr.com/photos/kv/499219/
Large tests
Dynamic HTML - Ajax
End-to-end Workflows
Any browser - Any platform
Selenium Cumulative Downloads
Firms with: 100+ downloads January – October 2008
Why not Selenium ?
Small tests
Anything outside the JavaScript sandbox
Source: http://lug.mtu.edu/wiki/images/2/27/SANDBOX.jpg
Flash, Java Applets, Silverlight, PDF
Source: http://goldberg.berkeley.edu/art/big-images/doi-box-hi-res.jpg
Example?
ThoughtWorks Time & Expense
Source: - Neal Ford: http://nealford.com/downloads/conferences/2006_nfjs_canonical/Neal_Ford-Testing_with_Selenium-slides.pdf
Selenium IDE
Selenium IDE for Firefox
SeleniumRemote Control
Selenium Remote Control
Source: - http://www.dkimages.com/discover/previews/824/5100491.JPG
Selenium Remote Control
Selenium Grid
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
25
18
Which is faster? (4 servers, parallel tasks)
Time
Servers
1
2
3
4
p13y.com
Source: - http://www.flickr.com/photos/onetreehillstudios/2958752337/
And Now...
The Future (which only you can prevent)
Source: http://goldberg.berkeley.edu/art/big-images/doi-box-hi-res.jpg
<canvas>
</canvas>
Example!