WebDriver: The Final Frontier - Selenium Camp 2014
-
Upload
sauce-labs -
Category
Technology
-
view
6.196 -
download
2
description
Transcript of WebDriver: The Final Frontier - Selenium Camp 2014
![Page 1: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/1.jpg)
Bernard Kobos • Developer • Sauce Labs
@bkobos • @saucelabs
SeleniumCamp 2014 • Kiev • Ukraine
29.02.2014
WebDriver the final frontier
![Page 3: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/3.jpg)
Why ?
![Page 4: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/4.jpg)
![Page 5: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/5.jpg)
Risk grows with complexity. Small changes can have huge unintended consequences
![Page 6: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/6.jpg)
Automated testing is the solution for a fast dev cycle that maintains high quality
![Page 7: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/7.jpg)
Continuous Integration is awesome: automated testing + automated deployment
![Page 8: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/8.jpg)
The Dev Cycle of Optimal Happiness[ ]
![Page 9: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/9.jpg)
History
http://4.bp.blogspot.com/-ZXWpbKhwDlk/UKTx15HuaoI/AAAAAAAALdc/1WW-D1YzoIQ/s1600/2001_apes_monolith.png
![Page 10: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/10.jpg)
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
![Page 11: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/11.jpg)
http://aalog.net/wp-content/uploads/2009/11/bridge1.jpg
![Page 12: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/12.jpg)
http://www.tachoblog.com/wp-content/uploads/090604-spanish-bridge1.jpg
![Page 13: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/13.jpg)
Back to the Future
http://media.comicbook.com/wp-content/uploads/2014/02/back-to-the-future-delorean.jpg
![Page 14: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/14.jpg)
The Stone Age
![Page 15: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/15.jpg)
http://en.wikipedia.org/wiki/File:Blue-punch-card-front-horiz.png
![Page 16: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/16.jpg)
4GBhttp://en.wikipedia.org/wiki/File:IBM_card_storage.NARA.jpg
![Page 17: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/17.jpg)
The Silver Age
![Page 18: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/18.jpg)
http://www-users.cs.york.ac.uk/~pcc/XB055/b-w/XB055-lab-1980s.jpg
![Page 19: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/19.jpg)
![Page 20: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/20.jpg)
http://2warpstoneptune.files.wordpress.com/2013/02/computer-lab-1985.jpg
![Page 21: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/21.jpg)
The Golden Age
![Page 22: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/22.jpg)
![Page 23: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/23.jpg)
![Page 24: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/24.jpg)
![Page 25: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/25.jpg)
![Page 26: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/26.jpg)
![Page 27: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/27.jpg)
The Diamond Age
http://cdn.unleashthefanboy.com/wp-content/uploads/2014/01/original.jpg
![Page 28: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/28.jpg)
http://www.bargainteers.com/wp-content/uploads/2013/12/Smartphones.png
![Page 29: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/29.jpg)
![Page 30: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/30.jpg)
GAMES?
http://www.toledoblade.com/image/2012/11/09/800x_b1_cCM_z/Angry-Birds-one-of-the-world-s-most-popular-phone.jpg
![Page 31: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/31.jpg)
THE BROWSER
http://3.bp.blogspot.com/-5jrT94vsbkc/TgoQhOPyl9I/AAAAAAAAA4g/DucdrYgXbzw/s1600/browser%2Bwar%2Bcopy.jpg
![Page 32: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/32.jpg)
![Page 33: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/33.jpg)
![Page 34: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/34.jpg)
![Page 35: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/35.jpg)
![Page 36: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/36.jpg)
http://silverspock.files.wordpress.com/2012/06/stnv_enterprise_warp.jpg
![Page 37: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/37.jpg)
![Page 38: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/38.jpg)
![Page 39: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/39.jpg)
QUALITY
![Page 40: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/40.jpg)
![Page 41: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/41.jpg)
http://www.prtaylor.gatech.edu/wordpress/1102m1/files/2013/08/clones.jpg
![Page 42: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/42.jpg)
http://superdan95.files.wordpress.com/2011/03/memes-tried-to-count-to-infinity-it-took-forever.jpg?w=407
![Page 43: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/43.jpg)
![Page 44: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/44.jpg)
![Page 45: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/45.jpg)
“When you are through changing, you are through.”
Bruce Barton
![Page 46: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/46.jpg)
![Page 47: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/47.jpg)
![Page 48: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/48.jpg)
![Page 49: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/49.jpg)
The WebDriver
![Page 50: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/50.jpg)
Selenium RC
![Page 51: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/51.jpg)
Selenium 2
![Page 52: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/52.jpg)
W3C Working Draft
![Page 53: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/53.jpg)
![Page 54: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/54.jpg)
Business
![Page 55: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/55.jpg)
![Page 56: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/56.jpg)
![Page 57: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/57.jpg)
appium
![Page 58: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/58.jpg)
“Mobile is taking over the world.” So how do we scale mobile quality?
![Page 59: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/59.jpg)
Testing and QA are important but painful. We want more code, less tap!
![Page 60: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/60.jpg)
The appium philosphyR1. 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
![Page 61: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/61.jpg)
appium is the cross-platform solution for native and hybrid mobile automation
![Page 62: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/62.jpg)
appium makes automated testing possible for mobile, setting the stage for real CI
![Page 63: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/63.jpg)
appium ? Show me the numberz!
0
1000
2000
3000
4000
Appium Calabash - ios
Forks Stars Closed PRs Commits
![Page 64: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/64.jpg)
THE FUTURE
http://storiesbywilliams.files.wordpress.com/2013/01/future-city-1.jpg
![Page 65: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/65.jpg)
“Mobile is taking over the world.” So how do we scale mobile quality?
![Page 66: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/66.jpg)
![Page 67: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/67.jpg)
![Page 68: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/68.jpg)
![Page 69: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/69.jpg)
![Page 70: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/70.jpg)
![Page 71: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/71.jpg)
WEBDRIVER 2 SELENIUM 3 APPIUM 1.0
http://diaryofacrasian.files.wordpress.com/2012/07/call-me-maybe-meme.jpg%3Fw%3D940
![Page 72: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/72.jpg)
The Mobile JSON Wire Protocol
* Protocol, not product
![Page 73: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/73.jpg)
Collaboration between Selenium, Appium, ios-driver,
Selendroid, FirefoxOS
![Page 74: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/74.jpg)
Supported by Sauce Labs, Facebook, eBay, and Mozilla
London in August 2013
![Page 75: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/75.jpg)
Mobile specific APIs Locator strategies for mobiles New desired caps Native “context” API Server-side waits
![Page 76: WebDriver: The Final Frontier - Selenium Camp 2014](https://reader034.fdocuments.us/reader034/viewer/2022052505/554d2b89b4c905ca208b52bf/html5/thumbnails/76.jpg)
FUTURE IS IN YOUR HANDS