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
![Page 1: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/1.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/2.jpg)
But First...
A Brief History Of Web Testing
![Page 3: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/3.jpg)
Why Selenium?
![Page 4: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/4.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/5.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/6.jpg)
Large tests
![Page 7: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/7.jpg)
Dynamic HTML - Ajax
![Page 8: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/8.jpg)
End-to-end Workflows
![Page 9: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/9.jpg)
Any browser - Any platform
![Page 10: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/10.jpg)
Selenium Cumulative Downloads
![Page 11: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/11.jpg)
Firms with: 100+ downloads January – October 2008
![Page 12: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/12.jpg)
Why not Selenium ?
![Page 13: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/13.jpg)
Small tests
![Page 14: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/14.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/15.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/16.jpg)
Example?
![Page 17: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/17.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/18.jpg)
Selenium IDE
![Page 19: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/19.jpg)
Selenium IDE for Firefox
![Page 20: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/20.jpg)
SeleniumRemote Control
![Page 21: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/21.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/22.jpg)
Selenium Remote Control
![Page 23: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/23.jpg)
Selenium Grid
![Page 24: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/24.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/25.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/26.jpg)
p13y.com
Source: - http://www.flickr.com/photos/onetreehillstudios/2958752337/
![Page 27: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/27.jpg)
And Now...
![Page 28: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/28.jpg)
The Future (which only you can prevent)
![Page 29: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/29.jpg)
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](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/30.jpg)
<canvas>
</canvas>
![Page 31: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/31.jpg)
Example!
![Page 32: The Future Of Web App Testing and How To Stop It](https://reader033.vdocuments.site/reader033/viewer/2022051613/54c923a14a79598f3a8b464f/html5/thumbnails/32.jpg)