Calabash-Driver is a tool for automating tests on Android apps. It uses the open source Calabash-Android project to integrate Android test automation into the Selenium Grid. This allows tests to be run on multiple devices simultaneously. Calabash-Driver offers a convenient WebDriver-like Java API for writing tests against Android apps and supports interacting with localized app elements.
2. TEST AUTOMATION OF THE
ANDROID APPS
We use calabash-android on the device and have
created the Open Source project Calabash-Driver
Calabash-Driver integrates the existing open source
project Calabash-Android into the Selenium Grid
Calabash-Driver offers a convenient Webdriver like
Java API for writing tests
http://calabash-driver.github.com/
Calabash-Driver Test Automation for Android Apps 2
3. TEST AUTOMATION OF ANDROID APPS
Selenium Grid
TestNG Hub
Test
http
http
Instrumentation
http Backend**
Calabash
Calabash Android
Jetty Server
Driver Connecto
r
eBay App
ADB
Connec- USB
tion
QE Machine Device
Calabash Server
Backend
** Component by the open source project Calabash-Android: http://calaba.sh
Calabash-Driver Test Automation for Android Apps 3
4. ANDROID APP TEST CASE
Tests
Flow Objects
Objects
Dialog
Calabash-Driver Test Automation for Android Apps 4
5. ADVANTAGES OF USING
CALABASH-DRIVER
Solution can be integrated into the Selenium Grid
which enables us to scale
The concept of automated testing the
Web, Win32, mobile Web and native apps is the
same
Fast Rampup for the testers and quick return on
investment
Calabash-Driver supports the interaction with
elements based on the Localization (L10n) resource
bundle key
Calabash-Driver Test Automation for Android Apps 5
6. FORK ME AT GITHUB
Github:
http://calabash-driver.github.com
Detailed Talk from Google Developer Group DevFest
http://youtu.be/BExAKDslV9I
Practical Demo:
https://github.com/DominikDary/gdg-devfest-zrh
Calabash-Driver Test Automation for Android Apps 6
7. Thank You!
Questions or Comments?
Dominik Dary
Staff Software Engineer in Test
E-mail: ddary@ebay.com
G+: Dominik Dary
Twitter: @DomeLG
Calabash-Driver Test Automation for Android Apps
7