Bernard Kobos • Developer • Sauce Labs
@bkobos • @saucelabs
SeleniumCamp 2014 • Kiev • Ukraine
29.02.2014
WebDriver the final frontier
Why ?
Risk grows with complexity. Small changes can have huge unintended consequences
Automated testing is the solution for a fast dev cycle that maintains high quality
Continuous Integration is awesome: automated testing + automated deployment
The Dev Cycle of Optimal Happiness[ ]
History
http://4.bp.blogspot.com/-ZXWpbKhwDlk/UKTx15HuaoI/AAAAAAAALdc/1WW-D1YzoIQ/s1600/2001_apes_monolith.png
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
http://aalog.net/wp-content/uploads/2009/11/bridge1.jpg
http://www.tachoblog.com/wp-content/uploads/090604-spanish-bridge1.jpg
Back to the Future
http://media.comicbook.com/wp-content/uploads/2014/02/back-to-the-future-delorean.jpg
The Stone Age
http://en.wikipedia.org/wiki/File:Blue-punch-card-front-horiz.png
4GBhttp://en.wikipedia.org/wiki/File:IBM_card_storage.NARA.jpg
The Silver Age
http://www-users.cs.york.ac.uk/~pcc/XB055/b-w/XB055-lab-1980s.jpg
http://2warpstoneptune.files.wordpress.com/2013/02/computer-lab-1985.jpg
The Golden Age
The Diamond Age
http://cdn.unleashthefanboy.com/wp-content/uploads/2014/01/original.jpg
http://www.bargainteers.com/wp-content/uploads/2013/12/Smartphones.png
GAMES?
http://www.toledoblade.com/image/2012/11/09/800x_b1_cCM_z/Angry-Birds-one-of-the-world-s-most-popular-phone.jpg
THE BROWSER
http://3.bp.blogspot.com/-5jrT94vsbkc/TgoQhOPyl9I/AAAAAAAAA4g/DucdrYgXbzw/s1600/browser%2Bwar%2Bcopy.jpg
http://silverspock.files.wordpress.com/2012/06/stnv_enterprise_warp.jpg
QUALITY
http://www.prtaylor.gatech.edu/wordpress/1102m1/files/2013/08/clones.jpg
http://superdan95.files.wordpress.com/2011/03/memes-tried-to-count-to-infinity-it-took-forever.jpg?w=407
“When you are through changing, you are through.”
Bruce Barton
The WebDriver
Selenium RC
Selenium 2
W3C Working Draft
Business
appium
“Mobile is taking over the world.” So how do we scale mobile quality?
Testing and QA are important but painful. We want more code, less tap!
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
appium is the cross-platform solution for native and hybrid mobile automation
appium makes automated testing possible for mobile, setting the stage for real CI
appium ? Show me the numberz!
0
1000
2000
3000
4000
Appium Calabash - ios
Forks Stars Closed PRs Commits
THE FUTURE
http://storiesbywilliams.files.wordpress.com/2013/01/future-city-1.jpg
“Mobile is taking over the world.” So how do we scale mobile quality?
WEBDRIVER 2 SELENIUM 3 APPIUM 1.0
http://diaryofacrasian.files.wordpress.com/2012/07/call-me-maybe-meme.jpg%3Fw%3D940
The Mobile JSON Wire Protocol
* Protocol, not product
Collaboration between Selenium, Appium, ios-driver,
Selendroid, FirefoxOS
Supported by Sauce Labs, Facebook, eBay, and Mozilla
London in August 2013
Mobile specific APIs Locator strategies for mobiles New desired caps Native “context” API Server-side waits
FUTURE IS IN YOUR HANDS