際際滷

際際滷Share a Scribd company logo
Calabash-Driver 
Test Automation for Android
Apps
Dominik Dary
Mobile Test Summit San Francisco
1. November 2012
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
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
ANDROID APP TEST CASE
 Tests
 Flow Objects
Objects
Dialog




                   Calabash-Driver  Test Automation for Android Apps   4
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
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
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

More Related Content

Calabash-Driver Lightning Talk by Dominik Dary

  • 1. Calabash-Driver Test Automation for Android Apps Dominik Dary Mobile Test Summit San Francisco 1. November 2012
  • 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