SlideShare a Scribd company logo
Test Automation
10 (sometimes painful) lessons learned



Michael Palotas & Dominik Dary
Quality Engineering Europe
eBay International


March 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 times
   eBay Inc’s apps have been downloaded

   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
Lesson 1: 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
Lesson 2: Everyone needs to know what is
automated

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
Lesson 3: A Tool is not a Strategy

    A test tool/testing framework won't
    teach your testers how to test

    A clear testing process is mandatory
    for test automation

    Test Aspects and modeling of the
    Biz-Domain layer is the key success
    factor for your test strategy
Lesson 4: Write the right tests




                           Source: http://farm1.static.flickr.com/119/269335955_03a0ff4b67_o.jpg
Lesson 4: Write the right tests

    Automate the business critical use
    cases of your customer

    Focus on end-to-end testing rather
    than UI component tests

    Design testability into your
    product
Lesson 5: Instant Feedback is essential

           Development                     Test




 D   T D   T D   T D     T D   T D   T D     T D   T
Lesson 6: Automation is software development


Skillset & Knowledge                 Engineering practice
•  You need people with software     •  Task oriented development
   development skills and an            helps you to get things done
   appetite for testing              •  Follow the basic rules like lean
•  Automation mindset is essential      development principles
•  Good understanding of the         •  Design the test before coding it
   architecture of the application   •  Do code reviews
   under test is required            •  Your developers can give you
                                        very good feedback about your
                                        code quality
Lesson 7: Maintainability is king




Source: http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef01348602ac19970c-pi
Lesson 7: Maintainability is king

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
       •    Ignoring 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
Lesson 8: Speak the same language as the
developers

     Use the same programming
     language as development

     Developers can write or maintain
     tests if needed

     Enables for a cross functional team
     where everyone can work on nearly
     every task
Lesson 9: Invest into the test infrastructure

     Speed up and simplify
     the creation of test
     data

     Offer and use web
     services

     Web based test data
     creation tools can be
     used in test auto-
     mation and manual
     testing
Lesson 10: Manual testing is still very important



    Automated tests only do what you have implemented:
    at the same speed, same order, with exactly the same
    mouse clicks
    Manual testing allows you to go off the beaten path

    Test automation in combination with exploratory
    testing combine the best of both worlds

    Quality = Manual + Automated Testing
Conclusion of our ten lessons learned

1.  Flip the testing triangle   6.  Automation is software
2.  A tool is not a strategy        development itself
3.  Everyone knows              7.  Maintainability is king
    what’s automated            8.  Speak the same
4.  Write the right tests           language as the
5.  Instant Feedback is             developers
    essential                   9.  Invest into the test
                                    Infrastructure
                                10. Manual testing is still
                                    very important
Thank You!
Questions or Comments?

More Related Content

What's hot (17)

PPTX
Synthesizing Continuous Deployment Practices in Software Development
Akond Rahman
 
PPTX
Test Driven Development
Orbit One - We create coherence
 
KEY
Best practices for writing good automated tests
Felipe Lima
 
PPTX
A Brief Introduction to Test-Driven Development
Shawn Jones
 
PDF
Test driven development
Sharafat Ibn Mollah Mosharraf
 
PPTX
Development without Testers: Myth or Real Option? (ConfeT&QA conference)
Mikalai Alimenkou
 
PPTX
Topic production code
Kavi Kumar
 
PPT
Acceptance Testing Driven Development, TDD
Laurent PY
 
PPTX
How to Add Test Automation to your Quality Assurance Toolbelt
Brett Tramposh
 
PDF
Alexandru Bolboaca - Unit Testing from the Trenches
Mozaic Works
 
PDF
Introduction to Test Automation - Technology and Tools
KMS Technology
 
PPTX
Test driven development
Nascenia IT
 
PPTX
Development without Testers: Myth or Real Option?
Mikalai Alimenkou
 
PPTX
Unit testing & TDD concepts with best practice guidelines.
Mohamed Taman
 
PPTX
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Anna Russo
 
PPTX
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Anna Russo
 
PPTX
Test driven development
Harry Potter
 
Synthesizing Continuous Deployment Practices in Software Development
Akond Rahman
 
Test Driven Development
Orbit One - We create coherence
 
Best practices for writing good automated tests
Felipe Lima
 
A Brief Introduction to Test-Driven Development
Shawn Jones
 
Test driven development
Sharafat Ibn Mollah Mosharraf
 
Development without Testers: Myth or Real Option? (ConfeT&QA conference)
Mikalai Alimenkou
 
Topic production code
Kavi Kumar
 
Acceptance Testing Driven Development, TDD
Laurent PY
 
How to Add Test Automation to your Quality Assurance Toolbelt
Brett Tramposh
 
Alexandru Bolboaca - Unit Testing from the Trenches
Mozaic Works
 
Introduction to Test Automation - Technology and Tools
KMS Technology
 
Test driven development
Nascenia IT
 
Development without Testers: Myth or Real Option?
Mikalai Alimenkou
 
Unit testing & TDD concepts with best practice guidelines.
Mohamed Taman
 
STARWEST 2010 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Anna Russo
 
STAREAST 2011 - 7 Steps To Improving Software Quality using Microsoft Test Ma...
Anna Russo
 
Test driven development
Harry Potter
 

Similar to Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned (20)

PPTX
Agile Testing at eBay
Dominik Dary
 
PDF
Lessons learnt in ten years of agile testing
Baiju Joseph
 
PDF
Implementing Test Automation in Agile Projects
Dominik Dary
 
PDF
Agile bodensee - Agile Testing: Bug prevention vs. bug detection
Michael Palotas
 
PDF
High Performance Software Engineering Teams
Lars Thorup
 
PDF
QA is dead long live the new QA - Agile Dev and QA Conference Israel
Yuval Yeret
 
PPTX
A Happy Marriage between Context-Driven and Agile
Ilari Henrik Aegerter
 
PPTX
Agile Testing: The Role Of The Agile Tester
Declan Whelan
 
PDF
Engaging IV&V Testing Services for Agile Projects
Ravi Kumar
 
PDF
Gateway test labs
gatewaytestlabs
 
PDF
Vaidyanathan Ramalingam Trade Off Economics In Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Agile Testing Leadership Lessons Softec 2 July2011
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Agile Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Testing Checklist Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Waterfall Vs Agile Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Software Testing Eco System Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Silicon India Testing Conference 2 July2011 Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Agile Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Rca In Agile Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
PDF
Vaidyanathan Ramalingam Rca In Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Agile Testing at eBay
Dominik Dary
 
Lessons learnt in ten years of agile testing
Baiju Joseph
 
Implementing Test Automation in Agile Projects
Dominik Dary
 
Agile bodensee - Agile Testing: Bug prevention vs. bug detection
Michael Palotas
 
High Performance Software Engineering Teams
Lars Thorup
 
QA is dead long live the new QA - Agile Dev and QA Conference Israel
Yuval Yeret
 
A Happy Marriage between Context-Driven and Agile
Ilari Henrik Aegerter
 
Agile Testing: The Role Of The Agile Tester
Declan Whelan
 
Engaging IV&V Testing Services for Agile Projects
Ravi Kumar
 
Gateway test labs
gatewaytestlabs
 
Vaidyanathan Ramalingam Trade Off Economics In Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Agile Testing Leadership Lessons Softec 2 July2011
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Agile Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Testing Checklist Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Waterfall Vs Agile Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Software Testing Eco System Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Silicon India Testing Conference 2 July2011 Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Rca In Agile Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Vaidyanathan Ramalingam Rca In Testing Conference Speech
Skills2Talent (Integrated Talent Management and L&D Software - Hire to ROI)
 
Ad

More from Michael Palotas (18)

PDF
Berlin Selenium Meetup - Galen Framework
Michael Palotas
 
PDF
Selenium - The page object pattern
Michael Palotas
 
PDF
Berlin Selenium Meetup - A quick introduction to Selenium
Michael Palotas
 
PDF
Zürich selenium meetup mobile and web automation under one umbrella
Michael Palotas
 
PDF
Agile breakfast St. Gallen - Mindset. Skillset. Toolset
Michael Palotas
 
PDF
Mobile Test Automation using one API and one infrastructure
Michael Palotas
 
PDF
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
PDF
Testing in the new world-bug prevention vs. bug detection
Michael Palotas
 
PDF
Mobile test automation with Selenium, Selendroid and ios-driver
Michael Palotas
 
PDF
German Testing Day Keynote - Testing at ebay - a look at a rather unconvent...
Michael Palotas
 
PDF
Mobile WebDriver Selendroid
Michael Palotas
 
PDF
Scrum breakfast skillset_toolset_mindset
Michael Palotas
 
PDF
EBAY - A LOOK BEHIND THE SCENES
Michael Palotas
 
PPTX
JAVA User Group Bern - Selenium
Michael Palotas
 
PPTX
Mobile Testing and Mobile Automation at eBay
Michael Palotas
 
PDF
ebay @ Hasso Plattner Institut Potsdam
Michael Palotas
 
PDF
How we Test at eBay Europe
Michael Palotas
 
PDF
Test Automation and Innovation with Open Source Tools
Michael Palotas
 
Berlin Selenium Meetup - Galen Framework
Michael Palotas
 
Selenium - The page object pattern
Michael Palotas
 
Berlin Selenium Meetup - A quick introduction to Selenium
Michael Palotas
 
Zürich selenium meetup mobile and web automation under one umbrella
Michael Palotas
 
Agile breakfast St. Gallen - Mindset. Skillset. Toolset
Michael Palotas
 
Mobile Test Automation using one API and one infrastructure
Michael Palotas
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
Testing in the new world-bug prevention vs. bug detection
Michael Palotas
 
Mobile test automation with Selenium, Selendroid and ios-driver
Michael Palotas
 
German Testing Day Keynote - Testing at ebay - a look at a rather unconvent...
Michael Palotas
 
Mobile WebDriver Selendroid
Michael Palotas
 
Scrum breakfast skillset_toolset_mindset
Michael Palotas
 
EBAY - A LOOK BEHIND THE SCENES
Michael Palotas
 
JAVA User Group Bern - Selenium
Michael Palotas
 
Mobile Testing and Mobile Automation at eBay
Michael Palotas
 
ebay @ Hasso Plattner Institut Potsdam
Michael Palotas
 
How we Test at eBay Europe
Michael Palotas
 
Test Automation and Innovation with Open Source Tools
Michael Palotas
 
Ad

Recently uploaded (20)

PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
MSP360 Backup Scheduling and Retention Best Practices.pptx
MSP360
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 

Swiss Testing Day - Testautomation, 10 (sometimes painful) lessons learned

  • 1. Test Automation 10 (sometimes painful) lessons learned Michael Palotas & Dominik Dary Quality Engineering Europe eBay International March 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 times eBay Inc’s apps have been downloaded 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: [email protected] Dominik Dary Staff Software Engineer in Test E-mail: [email protected]
  • 7. Lesson 1: 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
  • 8. Lesson 2: Everyone needs to know what is automated 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
  • 9. Lesson 3: A Tool is not a Strategy A test tool/testing framework won't teach your testers how to test A clear testing process is mandatory for test automation Test Aspects and modeling of the Biz-Domain layer is the key success factor for your test strategy
  • 10. Lesson 4: Write the right tests Source: http://farm1.static.flickr.com/119/269335955_03a0ff4b67_o.jpg
  • 11. Lesson 4: Write the right tests Automate the business critical use cases of your customer Focus on end-to-end testing rather than UI component tests Design testability into your product
  • 12. Lesson 5: Instant Feedback is essential Development Test D T D T D T D T D T D T D T D T
  • 13. Lesson 6: Automation is software development Skillset & Knowledge Engineering practice •  You need people with software •  Task oriented development development skills and an helps you to get things done appetite for testing •  Follow the basic rules like lean •  Automation mindset is essential development principles •  Good understanding of the •  Design the test before coding it architecture of the application •  Do code reviews under test is required •  Your developers can give you very good feedback about your code quality
  • 14. Lesson 7: Maintainability is king Source: http://geekandpoke.typepad.com/.a/6a00d8341d3df553ef01348602ac19970c-pi
  • 15. Lesson 7: Maintainability is king 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 •  Ignoring 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
  • 16. Lesson 8: Speak the same language as the developers Use the same programming language as development Developers can write or maintain tests if needed Enables for a cross functional team where everyone can work on nearly every task
  • 17. Lesson 9: Invest into the test infrastructure Speed up and simplify the creation of test data Offer and use web services Web based test data creation tools can be used in test auto- mation and manual testing
  • 18. Lesson 10: Manual testing is still very important Automated tests only do what you have implemented: at the same speed, same order, with exactly the same mouse clicks Manual testing allows you to go off the beaten path Test automation in combination with exploratory testing combine the best of both worlds Quality = Manual + Automated Testing
  • 19. Conclusion of our ten lessons learned 1.  Flip the testing triangle 6.  Automation is software 2.  A tool is not a strategy development itself 3.  Everyone knows 7.  Maintainability is king what’s automated 8.  Speak the same 4.  Write the right tests language as the 5.  Instant Feedback is developers essential 9.  Invest into the test Infrastructure 10. Manual testing is still very important