WebDriver: The Final Frontier - Selenium Camp 2014

7,559 views

Published on

Automated testing is the solution for a fast dev cycle that maintains high quality. Learn about the mobile JSON wire protocol, a collaboration between Selenium, Appium, ios driver, Selendroid, and firefoxOS!

Published in: Technology

WebDriver: The Final Frontier - Selenium Camp 2014

  1. 1. Bernard Kobos • Developer • Sauce Labs 
 @bkobos • @saucelabs SeleniumCamp 2014 • Kiev • Ukraine 29.02.2014 WebDriver the final frontier
  2. 2. Web Development Bernard Kobos • Developer • Sauce Labs 
 @bkobos • @saucelabs
  3. 3. Why ?
  4. 4. Risk grows with complexity. Small changes can have huge unintended consequences
  5. 5. Automated testing is the solution for a fast dev cycle that maintains high quality
  6. 6. Continuous Integration is awesome: automated testing + automated deployment
  7. 7. The Dev Cycle of Optimal Happiness[ ]
  8. 8. History http://4.bp.blogspot.com/-ZXWpbKhwDlk/UKTx15HuaoI/AAAAAAAALdc/1WW-D1YzoIQ/ s1600/2001_apes_monolith.png
  9. 9. Genius learns on others mistakes, wise one learns on his own mistakes, dumb one never learns.. http://diaryofacrasian.files.wordpress.com/2012/07/call-me-maybe-meme.jpg%3Fw%3D940
  10. 10. http://aalog.net/wp-content/uploads/2009/11/bridge1.jpg
  11. 11. http://www.tachoblog.com/wp-content/uploads/090604-spanish-bridge1.jpg
  12. 12. Back to the Future http://media.comicbook.com/wp-content/uploads/2014/02/back-to-the-future-delorean.jpg
  13. 13. The Stone Age
  14. 14. http://en.wikipedia.org/wiki/File:Blue-punch-card-front-horiz.png
  15. 15. 4GB http://en.wikipedia.org/wiki/File:IBM_card_storage.NARA.jpg
  16. 16. The Silver Age
  17. 17. http://www-users.cs.york.ac.uk/~pcc/XB055/b-w/XB055-lab-1980s.jpg
  18. 18. http://2warpstoneptune.files.wordpress.com/2013/02/computer-lab-1985.jpg
  19. 19. The Golden Age
  20. 20. The Diamond Age http://cdn.unleashthefanboy.com/wp-content/uploads/2014/01/original.jpg
  21. 21. http://www.bargainteers.com/wp-content/uploads/2013/12/Smartphones.png
  22. 22. GAMES? http://www.toledoblade.com/image/2012/11/09/800x_b1_cCM_z/Angry-Birds-one-of-the-world-s-most-popular-phone.jpg
  23. 23. THE BROWSER http://3.bp.blogspot.com/-5jrT94vsbkc/TgoQhOPyl9I/AAAAAAAAA4g/DucdrYgXbzw/s1600/browser%2Bwar%2Bcopy.jpg
  24. 24. http://silverspock.files.wordpress.com/2012/06/stnv_enterprise_warp.jpg
  25. 25. QUALITY
  26. 26. http://www.prtaylor.gatech.edu/wordpress/1102m1/files/2013/08/clones.jpg
  27. 27. http://superdan95.files.wordpress.com/2011/03/memes-tried-to-count-to-infinity-it-took-forever.jpg?w=407
  28. 28. “When you are through changing, you are through.” Bruce Barton
  29. 29. The WebDriver
  30. 30. Selenium RC
  31. 31. Selenium 2
  32. 32. W3C Working Draft
  33. 33. Business
  34. 34. appium
  35. 35. “Mobile is taking over the world.” So how do we scale mobile quality?
  36. 36. Testing and QA are important but painful. We want more code, less tap!
  37. 37. The appium philosphy R1. Test the same app you submit to the marketplace ! R2. Write your tests in any language and any framework ! R3. Use a standard automation specification and API ! R4. Build a large and thriving open- source community
  38. 38. appium is the cross-platform solution for native and hybrid mobile automation
  39. 39. appium makes automated testing possible for mobile, setting the stage for real CI
  40. 40. appium ? Show me the numberz! 0 1000 2000 3000 4000 Appium Calabash - ios Forks Stars Closed PRs Commits
  41. 41. THE FUTURE http://storiesbywilliams.files.wordpress.com/2013/01/future-city-1.jpg
  42. 42. “Mobile is taking over the world.” So how do we scale mobile quality?
  43. 43. WEBDRIVER 2 SELENIUM 3 APPIUM 1.0 http://diaryofacrasian.files.wordpress.com/2012/07/call-me-maybe-meme.jpg%3Fw%3D940
  44. 44. The Mobile JSON Wire Protocol * Protocol, not product
  45. 45. Collaboration between Selenium, Appium, ios-driver, Selendroid, FirefoxOS
  46. 46. Supported by Sauce Labs, Facebook, eBay, and Mozilla London in August 2013
  47. 47. Mobile specific APIs Locator strategies for mobiles New desired caps Native “context” API Server-side waits
  48. 48. FUTURE IS IN YOUR HANDS
  49. 49. Thanks! ! @bkobos • @saucelabs berni@saucelabs.com seleniumcamp14 PROMOCODE:

×