SlideShare a Scribd company logo
Thucydides – next generation
  acceptance testing with
        WebDriver
         Mikalai Alimenkou
       http://xpinjection.com
            @xpinjection
             01.10.2012
Thucydides – next generation acceptance testing with WebDriver
Automated acceptance testing is important part of Agile approaches

ACCEPTANCE TESTS
Main questions for any team

   How to build    How to build right
  product right?      product?

  Technology          Business
    facing             facing
Old good Scrum
Story planning in Agile
  Customer          Whole team
                                     Acceptance
               +                         Criteria

Customer       QA engineer
                             Acceptance           Behavior
           +                     Tests            Samples

 Whole team
                    Functional            Unit         Integration
                        Tests             Tests             Tests
Acceptance Criteria format
                                           Observable
Preconditions        Actor      Action
                                             result




                Given [Precondition]
                When [Actor + Action]
                Then [Observable Result]
Specification by example
Automated acceptance tests



Visibility      Reduced costs

Collaboration   Reduced risks
There are many ways to automate acceptance tests

IMPLEMENTATION OPTIONS
Large set of available tools
But we have WebDriver?!?
                       Get Driver




          Use Driver

                              Provide Data




                             Use Locators
WebDriver with Page Object
               search                       order
  Index
   Page

                                 Search
                                  Page
   login
             search
                                          filter
   Main
   Page                   open


                                      see more
                Details
     close       Page
                                                    show me like this
Thucydides – next generation acceptance testing with WebDriver
Main idea of Thucydides


 Acceptance
    Tests            Page
                    Objects
Every test consists of steps
                     WebDriver
                       Test


              =
                      Test Case
Test steps is great idea!

         Measure    Thinking
         progress     tool

                               Clearer
  Reusable
                                tests
               Steps
Thucydides is a great framework for acceptance or functional testing

THUCYDIDES IN PRACTICE
Specify requirements
                       Module




           Feature
                                Story
Create acceptance test

             Steps



                         Story



                     Acceptance
                       criteria




                      High-level
                        steps
Or more technical test
                                Story




               Managed driver



       Pages


                    Steps

                                  Test logic
Implement steps
                     Base class




                          Page Objects



                        Low-level steps




       Step marker
Location
validation
             Add Page Objects
                                      Base class


                       Fields




                                 Driver




                  Syntax sugar
Reporting is always important
General overview




 Statistics, status and features matrix
Report by features




Coverage, progress and traceability
Report by stories




Status and bug/task tracking integration
Detailed test report




  Time, steps, data and screenshots
Historical trends




 Trends by test status with zoom option
Integration with task trackers




               • Bidirectional
               • Performs updates
               • Apply workflow
Run tests in different browsers
Flexible Page Objects
Even more…
• Syntax sugar
• Lots of utility methods on web
elements
• Integration with Spring
• Easy work with tables
• State between steps
• Data-driven tests
Framework has almost everything for all team members

THUCYDIDES BENEFITS
Easy ATDD/BDD approach
              Automated
              Acceptance
Acceptance       Tests
  criteria
                Analysis

                  Test

             Implementation

                 Design

              Automated
              Acceptance      Acceptance
                 Tests          criteria
Clear iteration progress




@Pending tests VS iteration test suite
Less technical tests




                         Easy to
   Clear      Readable
                         maintain
Happy managers
Useful links
• http://www.thucydides.info/ - official Thucydides
website
• https://github.com/thucydides-webtests - project on
GitHub
@xpinjection
             http://xpinjection.com
mikalai.alimenkou@xpinjection.com

More Related Content

What's hot (20)

PDF
Agile Testing
Sargis Sargsyan
 
PPTX
Design patterns in test automation
Mikalai Alimenkou
 
PPTX
Lap Around Visual Studio 2010 Ultimate And TFS 2010
Ed Blankenship
 
PPTX
Testing Java EE apps with Arquillian
Ivan Ivanov
 
PDF
Test and Behaviour Driven Development (TDD/BDD)
Lars Thorup
 
PDF
Web Application Testing with Selenium
Sargis Sargsyan
 
PPTX
Colorful world-of-visual-automation-testing-latest
Onur Baskirt
 
DOCX
Automation Frame works Instruction Sheet
vodQA
 
PPT
Acceptance Test Driven Development With Spec Flow And Friends
Christopher Bartling
 
PDF
TDD and BDD and ATDD
Anuar Nurmakanov
 
PPT
Test Automation With Cucumber JVM, Selenium, and Mocha
Salesforce Developers
 
PDF
Using The Page Object Pattern
Dante Briones
 
PPTX
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
Mikalai Alimenkou
 
PPTX
QA Automation testing online training
Divya Shree
 
PPTX
Web based automation testing on Node.js environment
Yu-Lin Huang
 
PDF
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Sargis Sargsyan
 
PPTX
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
Trójmiejska Grupa Testerska
 
PDF
Continuous Testing Meets the Classroom at Code.org
Sauce Labs
 
PDF
Getting Started with Selenium
Dave Haeffner
 
PDF
How To Use Selenium Successfully
Dave Haeffner
 
Agile Testing
Sargis Sargsyan
 
Design patterns in test automation
Mikalai Alimenkou
 
Lap Around Visual Studio 2010 Ultimate And TFS 2010
Ed Blankenship
 
Testing Java EE apps with Arquillian
Ivan Ivanov
 
Test and Behaviour Driven Development (TDD/BDD)
Lars Thorup
 
Web Application Testing with Selenium
Sargis Sargsyan
 
Colorful world-of-visual-automation-testing-latest
Onur Baskirt
 
Automation Frame works Instruction Sheet
vodQA
 
Acceptance Test Driven Development With Spec Flow And Friends
Christopher Bartling
 
TDD and BDD and ATDD
Anuar Nurmakanov
 
Test Automation With Cucumber JVM, Selenium, and Mocha
Salesforce Developers
 
Using The Page Object Pattern
Dante Briones
 
DSL, Page Object and WebDriver – the path to reliable functional tests.pptx
Mikalai Alimenkou
 
QA Automation testing online training
Divya Shree
 
Web based automation testing on Node.js environment
Yu-Lin Huang
 
Better Page Object Handling with Loadable Component Pattern - SQA Days 20, Be...
Sargis Sargsyan
 
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
Trójmiejska Grupa Testerska
 
Continuous Testing Meets the Classroom at Code.org
Sauce Labs
 
Getting Started with Selenium
Dave Haeffner
 
How To Use Selenium Successfully
Dave Haeffner
 

Viewers also liked (20)

PPTX
Agile Evolution
Mikalai Alimenkou
 
PPTX
Why testing take so long
Mikalai Alimenkou
 
PPTX
Great functional testing with WebDriver and Thucydides
Mikalai Alimenkou
 
PPTX
TDD for DB integration
Mikalai Alimenkou
 
PPTX
Tech Lead role for Agile success
Mikalai Alimenkou
 
PPTX
Continuous Delivery
Mikalai Alimenkou
 
PPTX
Webium: Page Objects in Python
Igor Khrol
 
PPTX
Agile Testing by Example
Mikalai Alimenkou
 
PDF
QA Fest 2016. Яков Крамаренко. Укрощаем фреймворки-динозавры используя NSelene
QAFest
 
PPT
Philosophes
Joseph Fuertsch
 
PPTX
WH Chapter 5 Section 4 Notes
jmarazas
 
PPTX
Автоматизация визуального тестирования адаптивного дизайна на примере Galen F...
COMAQA.BY
 
PPTX
Способы организаций больших Java проектов по Автоматизированному тестированию
COMAQA.BY
 
PPTX
Cергей Зеленин. Aлександр Баглай "Tetris coding dojo"
Oleksandr Baglai
 
ODP
Greek Philosophers Comparison
ljhsblog
 
PPTX
COMPARE AND CONTRAST OF PHILOSOPHERS
Lorriene Bartolome
 
PPTX
Thucydides introduction
dposkerhill
 
PPTX
Тесты в стиле BDD на C# (Подходы и инструменты; SpecFlow, BDDfy)
Dmytro Zharii
 
KEY
Classical Greek philosophers
kenwackes
 
Agile Evolution
Mikalai Alimenkou
 
Why testing take so long
Mikalai Alimenkou
 
Great functional testing with WebDriver and Thucydides
Mikalai Alimenkou
 
TDD for DB integration
Mikalai Alimenkou
 
Tech Lead role for Agile success
Mikalai Alimenkou
 
Continuous Delivery
Mikalai Alimenkou
 
Webium: Page Objects in Python
Igor Khrol
 
Agile Testing by Example
Mikalai Alimenkou
 
QA Fest 2016. Яков Крамаренко. Укрощаем фреймворки-динозавры используя NSelene
QAFest
 
Philosophes
Joseph Fuertsch
 
WH Chapter 5 Section 4 Notes
jmarazas
 
Автоматизация визуального тестирования адаптивного дизайна на примере Galen F...
COMAQA.BY
 
Способы организаций больших Java проектов по Автоматизированному тестированию
COMAQA.BY
 
Cергей Зеленин. Aлександр Баглай "Tetris coding dojo"
Oleksandr Baglai
 
Greek Philosophers Comparison
ljhsblog
 
COMPARE AND CONTRAST OF PHILOSOPHERS
Lorriene Bartolome
 
Thucydides introduction
dposkerhill
 
Тесты в стиле BDD на C# (Подходы и инструменты; SpecFlow, BDDfy)
Dmytro Zharii
 
Classical Greek philosophers
kenwackes
 
Ad

Similar to Thucydides – next generation acceptance testing with WebDriver (20)

PDF
SoftwareTesting Courses In Pune
MindScripts SoftwareTestingPune
 
PDF
Software Testing Courses In Pune
MindScripts SoftwareTestingPune
 
PDF
Software Testing Certification Courses In Pune
MindScripts SoftwareTestingPune
 
PDF
Software Testing Training Institutes In Pune
MindScripts SoftwareTestingPune
 
DOC
Pimpri Chinchwad Software Testing Courses
MindScripts SoftwareTestingPune
 
PDF
Software testing
MindScripts SoftwareTestingPune
 
PDF
Software Testing Certification Courses In Pimpri Chinchwad
MindScripts SoftwareTestingPune
 
DOC
Software Tesitng Institutes Pune
MindScripts SoftwareTestingPune
 
PDF
Software Testing Institutes In Pune
MindScripts SoftwareTestingPune
 
PDF
Software Testing Training Center In Pune
MindScripts SoftwareTestingPune
 
DOC
Software Testing Training Institutes In Pune
MindScripts SoftwareTestingPune
 
PDF
Pune Software Testing Institutes
MindScripts SoftwareTestingPune
 
PDF
Software Testing Trainng And Placements In Pune
MindScripts SoftwareTestingPune
 
PDF
Software Quality and Test Strategies for Ruby and Rails Applications
Bhavin Javia
 
PDF
Agile testing
Raj Indugula
 
PPTX
DSL, Page Object и WebDriver – путь к надежным функциональным тестам
SQALab
 
PDF
Test Automation and Innovation with Open Source Tools
Michael Palotas
 
PPTX
Behavior Driven Development
MonocularVision
 
PDF
Implementing Test Automation in Agile Projects
Dominik Dary
 
PPTX
Pilot essentials webinar
Maarga Systems
 
SoftwareTesting Courses In Pune
MindScripts SoftwareTestingPune
 
Software Testing Courses In Pune
MindScripts SoftwareTestingPune
 
Software Testing Certification Courses In Pune
MindScripts SoftwareTestingPune
 
Software Testing Training Institutes In Pune
MindScripts SoftwareTestingPune
 
Pimpri Chinchwad Software Testing Courses
MindScripts SoftwareTestingPune
 
Software Testing Certification Courses In Pimpri Chinchwad
MindScripts SoftwareTestingPune
 
Software Tesitng Institutes Pune
MindScripts SoftwareTestingPune
 
Software Testing Institutes In Pune
MindScripts SoftwareTestingPune
 
Software Testing Training Center In Pune
MindScripts SoftwareTestingPune
 
Software Testing Training Institutes In Pune
MindScripts SoftwareTestingPune
 
Pune Software Testing Institutes
MindScripts SoftwareTestingPune
 
Software Testing Trainng And Placements In Pune
MindScripts SoftwareTestingPune
 
Software Quality and Test Strategies for Ruby and Rails Applications
Bhavin Javia
 
Agile testing
Raj Indugula
 
DSL, Page Object и WebDriver – путь к надежным функциональным тестам
SQALab
 
Test Automation and Innovation with Open Source Tools
Michael Palotas
 
Behavior Driven Development
MonocularVision
 
Implementing Test Automation in Agile Projects
Dominik Dary
 
Pilot essentials webinar
Maarga Systems
 
Ad

More from Mikalai Alimenkou (20)

PPTX
Rise and fall of Story Points. Capacity based planning from the trenches.
Mikalai Alimenkou
 
PPTX
Static analysis tools as the best friend of QA
Mikalai Alimenkou
 
PPTX
Modern CI/CD in the microservices world with Kubernetes
Mikalai Alimenkou
 
PPTX
Saga about distributed business transactions in microservices world
Mikalai Alimenkou
 
PPTX
Effectiveness tips from Kubernetes trenches by Captain Obvious
Mikalai Alimenkou
 
PPTX
Ride the database in JUnit tests with Database Rider
Mikalai Alimenkou
 
PPTX
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
PPTX
Hexagonal architecture with Spring Boot
Mikalai Alimenkou
 
PPTX
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
PPTX
DevOps checklist or how to understand where is your team in DevOps landscape ...
Mikalai Alimenkou
 
PPTX
DevOps checklist or how to understand where is your team in DevOps landscape
Mikalai Alimenkou
 
PDF
Практические трудности в разработке Медкарты для целой страны
Mikalai Alimenkou
 
PPTX
Hexagonal architecture with Spring Boot [EPAM Java online conference]
Mikalai Alimenkou
 
PPTX
Bro, manage test data like a pro! [QA Fest 2018]
Mikalai Alimenkou
 
PPTX
Agile antipatterns: review after 10 years of practice
Mikalai Alimenkou
 
PPTX
Hexagonal architecture with Spring Boot
Mikalai Alimenkou
 
PPTX
Bro, manage test data like a pro!
Mikalai Alimenkou
 
PPTX
Бытовая классификация тестировщиков с точки зрения разработчика
Mikalai Alimenkou
 
PPTX
Code Review tool for personal effectiveness and waste analysis
Mikalai Alimenkou
 
PDF
Funny stories and anti-patterns from DevOps landscape
Mikalai Alimenkou
 
Rise and fall of Story Points. Capacity based planning from the trenches.
Mikalai Alimenkou
 
Static analysis tools as the best friend of QA
Mikalai Alimenkou
 
Modern CI/CD in the microservices world with Kubernetes
Mikalai Alimenkou
 
Saga about distributed business transactions in microservices world
Mikalai Alimenkou
 
Effectiveness tips from Kubernetes trenches by Captain Obvious
Mikalai Alimenkou
 
Ride the database in JUnit tests with Database Rider
Mikalai Alimenkou
 
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
Hexagonal architecture with Spring Boot
Mikalai Alimenkou
 
Wastful waste or why everything is so slow in development
Mikalai Alimenkou
 
DevOps checklist or how to understand where is your team in DevOps landscape ...
Mikalai Alimenkou
 
DevOps checklist or how to understand where is your team in DevOps landscape
Mikalai Alimenkou
 
Практические трудности в разработке Медкарты для целой страны
Mikalai Alimenkou
 
Hexagonal architecture with Spring Boot [EPAM Java online conference]
Mikalai Alimenkou
 
Bro, manage test data like a pro! [QA Fest 2018]
Mikalai Alimenkou
 
Agile antipatterns: review after 10 years of practice
Mikalai Alimenkou
 
Hexagonal architecture with Spring Boot
Mikalai Alimenkou
 
Bro, manage test data like a pro!
Mikalai Alimenkou
 
Бытовая классификация тестировщиков с точки зрения разработчика
Mikalai Alimenkou
 
Code Review tool for personal effectiveness and waste analysis
Mikalai Alimenkou
 
Funny stories and anti-patterns from DevOps landscape
Mikalai Alimenkou
 

Recently uploaded (20)

PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 

Thucydides – next generation acceptance testing with WebDriver