appium: automation for mobile apps
DESCRIPTION
Jonathan Lipps' talk for GTAC 2013 on Appium, an open source framework for mobile app testing.TRANSCRIPT
automation for mobile apps
Jonathan Lipps | @jlipps | Sauce Labs
Mobile is taking over the world. Where is our mobile automation? Our mobile CI?
It's a multi-platform age. Mass adoption requires cross-platform apps.
appium is the cross-platform solution for native and hybrid mobile automation
1
appium philosophy
2 3 4
Rule 1 Test the same app you submit to the marketplace
Rule 2 Write your tests in any language, using any framework
Rule 3 Use a standard automation specification and API
Rule 4 Build a large and thriving open- source community effort
appium in space!
2 3 4 1
iOS Android
calabash-ios Frank UIAutomation ios-driver KeepItFunctional
calabash-android MonkeyTalk Robotium UiAutomator selendroid
Selenium WebDriver is the standard for browser automation, with libraries in every* language
Selenium WebDriver is used every single day by thousands of developers familiar with its model
Selenium WebDriver is a W3C working draft
appium architecture
2 3 4 1
appium is an HTTP server that creates and handles WebDriver sessions
appium starts a "test case" on the device that spawns a server and listens for proxied commands
On iOS, appium proxies commands to a UIAutomation script running in Instruments
On Android, appium proxies commands to a UiAutomator test case running on the device
appium in action
2 3 4 1
appium opens the door to cross-platform mobile testing: one test, two mobile platforms
Demo app donated by
Demo
appium is great for local test development, but has limitations when scaling up for use in CI
Sauce Labs is great for scale when you need to run a lot of appium tests in your build
saucelabs.com/appium
Questions?
appium.io github.com/appium/appium
@AppiumDevs | @jlipps | @saucelabs
Thank you