The Future of Web
   App Testing
and How to Stop It
         @jhuggins
             Jason Huggins
           hugs@saucelab...
But First...

A Brief History
Of Web Testing
Why Selenium?
Browser Wars II


6, 7 & 8          2, 3         3, 4 beta




            1.0          9.6
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_...
Selenium IDE
Selenium IDE for Firefox
Selenium
Remote Control
Selenium Remote Control




     Source: - http://www.dkimages.com/discover/previews/824/5100491.JPG
Selenium Remote Control
Selenium Grid
Selenium Grid
Which is faster? (1 server, sequential tasks)

              4


              3
    Servers

              ...
Which is faster? (4 servers, parallel tasks)

              4


              3
    Servers

              2


           ...
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!
Thank You

    @jhuggins
hugs@saucelabs.com
The Future Of Web App Testing and How To Stop It
Upcoming SlideShare
Loading in …5
×

The Future Of Web App Testing and How To Stop It

3,570 views
3,473 views

Published on

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.

Published in: Technology, Design
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,570
On SlideShare
0
From Embeds
0
Number of Embeds
1,324
Actions
Shares
0
Downloads
64
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

The Future Of Web App Testing and How To Stop It

  1. 1. The Future of Web App Testing and How to Stop It @jhuggins Jason Huggins hugs@saucelabs.com seleniumhq.org | saucelabs.com {‘jschi’ : new Date(quot;May 28, 2009quot;)}
  2. 2. But First... A Brief History Of Web Testing
  3. 3. Why Selenium?
  4. 4. Browser Wars II 6, 7 & 8 2, 3 3, 4 beta 1.0 9.6
  5. 5. Test Automation Source: - F.O.X.: http://www.flickr.com/photos/kv/499219/
  6. 6. Large tests
  7. 7. Dynamic HTML - Ajax
  8. 8. End-to-end Workflows
  9. 9. Any browser - Any platform
  10. 10. Selenium Cumulative Downloads
  11. 11. Firms with: 100+ downloads January – October 2008
  12. 12. Why not Selenium ?
  13. 13. Small tests
  14. 14. Anything outside the JavaScript sandbox Source: http://lug.mtu.edu/wiki/images/2/27/SANDBOX.jpg
  15. 15. Flash, Java Applets, Silverlight, PDF Source: http://goldberg.berkeley.edu/art/big-images/doi-box-hi-res.jpg
  16. 16. Example?
  17. 17. ThoughtWorks Time & Expense Source: - Neal Ford: http://nealford.com/downloads/conferences/2006_nfjs_canonical/Neal_Ford-Testing_with_Selenium-slides.pdf
  18. 18. Selenium IDE
  19. 19. Selenium IDE for Firefox
  20. 20. Selenium Remote Control
  21. 21. Selenium Remote Control Source: - http://www.dkimages.com/discover/previews/824/5100491.JPG
  22. 22. Selenium Remote Control
  23. 23. Selenium Grid
  24. 24. Selenium Grid Which is faster? (1 server, sequential tasks) 4 3 Servers 2 1 Time Source: - http://factoryjoe.com/blog/wp-content/uploads/2006/10/pods.jpg
  25. 25. Which is faster? (4 servers, parallel tasks) 4 3 Servers 2 1 Time 25
  26. 26. p13y.com Source: - http://www.flickr.com/photos/onetreehillstudios/2958752337/
  27. 27. And Now...
  28. 28. The Future (which only you can prevent)
  29. 29. Source: http://goldberg.berkeley.edu/art/big-images/doi-box-hi-res.jpg
  30. 30. <canvas> </canvas>
  31. 31. Example!
  32. 32. Thank You @jhuggins hugs@saucelabs.com

×