SlideShare a Scribd company logo
Implementing Test
Automation in Agile Projects

Michael Palotas & Dominik Dary
Quality Engineering Europe
eBay International

Dutch Testing Conference 2012
April 2012
eBay Inc. Facts


   Founded in 1995

   Based in San Jose, California

   27770 Employees worldwide
Platform Facts


   104 million
   active buyers and sellers worldwide

   68 Billion USD
   transaction volume 2011

   2000 USD
   transaction volume every second
Data Facts

   9 petabytes of data
   In our Hadoop and Teradata clusters


   2 billion page views
   each day


   75 billion database calls
   each day
Mobile Facts

   70,000,000 downloads
   of eBay Inc’s apps

   5 billion USD
   transacted 2011 on mobile devices

   1 million items
   are listed with using mobile apps every week
Who we are

             Michael Palotas
             Head of Quality Engineering Europe
             E-mail: mpalotas@ebay.com



             Dominik Dary
             Staff Software Engineer in Test
             E-mail: ddary@ebay.com
Test Automation?

   To get early and instant Feedback


   We automate the regression tests


   It is our safety net to save time &
   this is reinvested into manual testing
Flip the testing triangle
                                  Manual
                                   Tests


       Manual Tests
                                 E2E
                                 Tests

      E2E Automation
          Tests             Integration Tests


           Unit
          Tests                Unit Tests




                                 Inspiration: http://patrickwilsonwelsh.com/?p=32
Our guide through this Presentation



                                         4. Lean Test Automation



                                    3. Test Implementation



                      2. Modeling of the Biz Domain Layer



         1. Design the Automated Test with Test Aspects
1. Design the Automated Tests with Test Aspects


Use Test Aspects**                   Advantages
•  Test aspects briefly describe     •  Clear overview for all team
   “why” and “what” has to be           members about test coverage
   tested, without describing        •  Simplicity helps you to do
   “how”                                quick reviews and
•  Enables for early testing            walkthroughs with your product
   because tests can be written at      owner
   the same time the user story is   •  Enables you to identify manual
   created                              and automated test duplicates
•  Test aspects are structurally     •  Traceability between test
   derived                              cases and specification

                                     **Swiss Testing Day Presentation 2010: “Mit Testaspekten früh, intelligent und redundanzfrei testen” Melanie Späth
                                           Image Source: http://www.masternewmedia.org/images/social_software_impact_individual_organizations.jpg
Test Aspect Example
2. Modeling of the Biz Domain Layer

      Tests
                                •  Modularization and
                                   reuse of components:
   Flow Objects                    maintainable &
                       Biz
                       Domain      extendable e2e tests
   Page Objects        Layer
                                •  Crucial to have in
    Biz Domain Layer
                                   depth knowledge of
    WebDriver
                                   the domain
     Browser                    •  Enable data driven
                                   testing by generic test
                                   cases
Pages and Flows
      e-Commerce shopping site like eBay
                                   Select
      View                                        Order
                  Review          Payment
    Category                                     Summary
                                  Provider



     Search                         View           View
                  Update
      Item                        Category        Orderlist



     View          Delete
    Product

   View Item   Shopping Cart
     Page         Page         Checkout Page   Success Page
3. Test Implementation using Selenium
 Tests
 Flow Objects
Objects
 Page
Technical High Level Overview
Instant Feedback - Selenium Grid

Sequential Execution                                               Parallel Execution

                                                                                  Test   Test   Test      Test
Parallel Execution




                                                             Parallel Execution
                                                                                  Test   Test   Test      Test


                     Test   Test   Test       Test    Test
                                                                                  Test   Test   Test      Test
                      1      2      3          …      4500

                                          Execution Time                                               Execution Time


Execution time:                                                    Execution time:
7000 minutes (~116 hours = ~5 days)                                60 minutes
                                                                   by using 150 Virtual Machines /
                                                                   Browsers using the WebDriver GRID


Footnote about the size of the Tests @eBay Europe:
-  4500 end-to-end regression test cases
-  2-3 minutes execution time for each
4. Lean Test Automation

Technical Debt                      Lean Test Automation
•    Activities that result in      •    Eliminate Waste         Definition of Done
     technical debt include         •    Build Quality In            Reviews
       •    Postponing
            documentation and
                                    •    Create Knowledge     Document the essentials
            writing tests           •    Defer Commitment     Don’t build a framework
       •    attending to TODO       •    Deliver Fast
            comments and
       •    tackling compiler and   •    Respect People             Long Leash
            static code analysis    •    Optimize the Whole
            warnings
•  Knowledge that isn't
   shared around the
   organization
•  Code that is too confusing
   to be modified easily
Conclusion

    Be clear why you want to automate

    Open source is your best friend
    Flip the testing triangle

    Treat automation as a software project

    Work with the right people

    Stay lean

    Test automation is much more than
    just your automation toolset!
Thank You!
Questions or Comments?

More Related Content

PPTX
Agile Testing at eBay
PPTX
Applied Testing Heuristics in the Context of eBay
PPTX
Android Test Automation – one year later
PPTX
Mobile Test Automation at eBay
PDF
How we Test at eBay Europe
PPTX
Mobile WebDriver Selendroid
PPTX
Selendroid in Action
PDF
Top Best Practices for Successful Mobile Test Automation
Agile Testing at eBay
Applied Testing Heuristics in the Context of eBay
Android Test Automation – one year later
Mobile Test Automation at eBay
How we Test at eBay Europe
Mobile WebDriver Selendroid
Selendroid in Action
Top Best Practices for Successful Mobile Test Automation

What's hot (20)

PPTX
Different Android Test Automation Frameworks - What Works You the Best?
PDF
[Srijan Wednesday Webinars] Building a High Performance QA Team
PDF
Exercising and Scaling Up Mobile DevOps in the Enterprise
PPTX
Hassle-Free Continuous Integration with Real Device Testing
PDF
Awesome Test Automation Made Simple w/ Dave Haeffner
PDF
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
PDF
Current Testing Challenges Ireland
PPTX
Colorful world-of-visual-automation-testing-latest
PPTX
Do You Enjoy Espresso in Android App Testing?
PPTX
How to Leverage Appium in Your Mobile App Testing
PDF
Test Automation Frameworks Using Selenium | Edureka
PPTX
Mobile performance metrics and performance monitoring meetup 2017 05 10
PPTX
Appium vs Appium with Perfecto
PPTX
Test Automation Frameworks: Assumptions, Concepts & Tools
PDF
Introduction To Mobile-Automation
PPTX
Android testing
PPTX
Uber Mobility Meetup: Mobile Testing
PDF
Mobile Apps development best practices. TDD, CI, CD
PDF
Top 10 Automation Testing Tools in 2020
PDF
Android Automation Using Robotium
Different Android Test Automation Frameworks - What Works You the Best?
[Srijan Wednesday Webinars] Building a High Performance QA Team
Exercising and Scaling Up Mobile DevOps in the Enterprise
Hassle-Free Continuous Integration with Real Device Testing
Awesome Test Automation Made Simple w/ Dave Haeffner
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Current Testing Challenges Ireland
Colorful world-of-visual-automation-testing-latest
Do You Enjoy Espresso in Android App Testing?
How to Leverage Appium in Your Mobile App Testing
Test Automation Frameworks Using Selenium | Edureka
Mobile performance metrics and performance monitoring meetup 2017 05 10
Appium vs Appium with Perfecto
Test Automation Frameworks: Assumptions, Concepts & Tools
Introduction To Mobile-Automation
Android testing
Uber Mobility Meetup: Mobile Testing
Mobile Apps development best practices. TDD, CI, CD
Top 10 Automation Testing Tools in 2020
Android Automation Using Robotium
Ad

Viewers also liked (19)

PPTX
InfoCamp 12 Keynote - Innovation in the fast lane with Open Source Tools
PPT
Programming skills for test automation
PDF
Software Measurement in agilen Projekten mit Open Source Tools
PPT
Test Automation Strategies For Agile
PDF
Getting Started with eBay API\'s
PPT
Using GUI Ripping for Automated Testing of Android Apps
PDF
A guide to Android automated testing
PDF
Mobile automation – should I use robotium or calabash or appium?
PPT
Agile QA presentation
PDF
Agile Testing
PPTX
Choosing the Best Open Source Test Automation Tool for You
PDF
Boston meetup blaze_meter_feb2017
PPTX
Agile Testing by Example
PDF
Appium Mobile Test Automation like WebDriver
PDF
Automated testing for Android application
PDF
Agile QA Process
PPT
Automation testing strategy, approach & planning
PPT
Test Automation Framework Designs
PPTX
Acute pancreatitis
InfoCamp 12 Keynote - Innovation in the fast lane with Open Source Tools
Programming skills for test automation
Software Measurement in agilen Projekten mit Open Source Tools
Test Automation Strategies For Agile
Getting Started with eBay API\'s
Using GUI Ripping for Automated Testing of Android Apps
A guide to Android automated testing
Mobile automation – should I use robotium or calabash or appium?
Agile QA presentation
Agile Testing
Choosing the Best Open Source Test Automation Tool for You
Boston meetup blaze_meter_feb2017
Agile Testing by Example
Appium Mobile Test Automation like WebDriver
Automated testing for Android application
Agile QA Process
Automation testing strategy, approach & planning
Test Automation Framework Designs
Acute pancreatitis
Ad

Similar to Implementing Test Automation in Agile Projects (20)

PPTX
Implementing Test Automation in Agile Projects
PDF
Test Automation and Innovation with Open Source Tools
PDF
10 Lessons learned in test automation
PDF
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
PPTX
TDD in functional testing with WebDriver
PDF
Gateway test labs
PDF
Acceptance Testing of Web UI
PDF
Pariksha testing services
PPTX
Idexcel Independent Testing Services Presentation
PDF
Open Source Test Workshop for CIOs, CTOs, Managers
PDF
Engaging IV&V Testing Services for Agile Projects
PPT
Agile Testing
PDF
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
PDF
Web App Testing - A Practical Approach
PDF
PDF
PDF
PDF
Software Testing Trends & Transformation, Vaidyanathan Ramalingam Director En...
Implementing Test Automation in Agile Projects
Test Automation and Innovation with Open Source Tools
10 Lessons learned in test automation
Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned
TDD in functional testing with WebDriver
Gateway test labs
Acceptance Testing of Web UI
Pariksha testing services
Idexcel Independent Testing Services Presentation
Open Source Test Workshop for CIOs, CTOs, Managers
Engaging IV&V Testing Services for Agile Projects
Agile Testing
Agile Open Source Performance Test Workshop for Developers, Testers, IT Ops
Web App Testing - A Practical Approach
Software Testing Trends & Transformation, Vaidyanathan Ramalingam Director En...

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Modernizing your data center with Dell and AMD
PPT
Teaching material agriculture food technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Big Data Technologies - Introduction.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation theory and applications.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Reach Out and Touch Someone: Haptics and Empathic Computing
Modernizing your data center with Dell and AMD
Teaching material agriculture food technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Chapter 3 Spatial Domain Image Processing.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Big Data Technologies - Introduction.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

Implementing Test Automation in Agile Projects

  • 1. Implementing Test Automation in Agile Projects Michael Palotas & Dominik Dary Quality Engineering Europe eBay International Dutch Testing Conference 2012 April 2012
  • 2. eBay Inc. Facts Founded in 1995 Based in San Jose, California 27770 Employees worldwide
  • 3. Platform Facts 104 million active buyers and sellers worldwide 68 Billion USD transaction volume 2011 2000 USD transaction volume every second
  • 4. Data Facts 9 petabytes of data In our Hadoop and Teradata clusters 2 billion page views each day 75 billion database calls each day
  • 5. Mobile Facts 70,000,000 downloads of eBay Inc’s apps 5 billion USD transacted 2011 on mobile devices 1 million items are listed with using mobile apps every week
  • 6. Who we are Michael Palotas Head of Quality Engineering Europe E-mail: mpalotas@ebay.com Dominik Dary Staff Software Engineer in Test E-mail: ddary@ebay.com
  • 7. Test Automation? To get early and instant Feedback We automate the regression tests It is our safety net to save time & this is reinvested into manual testing
  • 8. Flip the testing triangle Manual Tests Manual Tests E2E Tests E2E Automation Tests Integration Tests Unit Tests Unit Tests Inspiration: http://patrickwilsonwelsh.com/?p=32
  • 9. Our guide through this Presentation 4. Lean Test Automation 3. Test Implementation 2. Modeling of the Biz Domain Layer 1. Design the Automated Test with Test Aspects
  • 10. 1. Design the Automated Tests with Test Aspects Use Test Aspects** Advantages •  Test aspects briefly describe •  Clear overview for all team “why” and “what” has to be members about test coverage tested, without describing •  Simplicity helps you to do “how” quick reviews and •  Enables for early testing walkthroughs with your product because tests can be written at owner the same time the user story is •  Enables you to identify manual created and automated test duplicates •  Test aspects are structurally •  Traceability between test derived cases and specification **Swiss Testing Day Presentation 2010: “Mit Testaspekten früh, intelligent und redundanzfrei testen” Melanie Späth Image Source: http://www.masternewmedia.org/images/social_software_impact_individual_organizations.jpg
  • 12. 2. Modeling of the Biz Domain Layer Tests •  Modularization and reuse of components: Flow Objects maintainable & Biz Domain extendable e2e tests Page Objects Layer •  Crucial to have in Biz Domain Layer depth knowledge of WebDriver the domain Browser •  Enable data driven testing by generic test cases
  • 13. Pages and Flows e-Commerce shopping site like eBay Select View Order Review Payment Category Summary Provider Search View View Update Item Category Orderlist View Delete Product View Item Shopping Cart Page Page Checkout Page Success Page
  • 14. 3. Test Implementation using Selenium Tests Flow Objects Objects Page
  • 16. Instant Feedback - Selenium Grid Sequential Execution Parallel Execution Test Test Test Test Parallel Execution Parallel Execution Test Test Test Test Test Test Test Test Test Test Test Test Test 1 2 3 … 4500 Execution Time Execution Time Execution time: Execution time: 7000 minutes (~116 hours = ~5 days) 60 minutes by using 150 Virtual Machines / Browsers using the WebDriver GRID Footnote about the size of the Tests @eBay Europe: -  4500 end-to-end regression test cases -  2-3 minutes execution time for each
  • 17. 4. Lean Test Automation Technical Debt Lean Test Automation •  Activities that result in •  Eliminate Waste Definition of Done technical debt include •  Build Quality In Reviews •  Postponing documentation and •  Create Knowledge Document the essentials writing tests •  Defer Commitment Don’t build a framework •  attending to TODO •  Deliver Fast comments and •  tackling compiler and •  Respect People Long Leash static code analysis •  Optimize the Whole warnings •  Knowledge that isn't shared around the organization •  Code that is too confusing to be modified easily
  • 18. Conclusion Be clear why you want to automate Open source is your best friend Flip the testing triangle Treat automation as a software project Work with the right people Stay lean Test automation is much more than just your automation toolset!