Your SlideShare is downloading. ×
0
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Thucydides – next generation acceptance testing with WebDriver
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Thucydides – next generation acceptance testing with WebDriver

16,604

Published on

Presentation from YaC 2012 (October 2012) in Moscow, Selenium Camp 2012 in Kiev (February 2012) about new tool for acceptance testing that has great integration with WebDriver and allows creating …

Presentation from YaC 2012 (October 2012) in Moscow, Selenium Camp 2012 in Kiev (February 2012) about new tool for acceptance testing that has great integration with WebDriver and allows creating clear tests with great reporting.

Published in: Technology, Education
1 Comment
19 Likes
Statistics
Notes
No Downloads
Views
Total Views
16,604
On Slideshare
0
From Embeds
0
Number of Embeds
13
Actions
Shares
0
Downloads
0
Comments
1
Likes
19
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Thucydides – next generation acceptance testing with WebDriver Mikalai Alimenkou http://xpinjection.com @xpinjection 01.10.2012
  • 2. Automated acceptance testing is important part of Agile approachesACCEPTANCE TESTS
  • 3. Main questions for any team How to build How to build right product right? product? Technology Business facing facing
  • 4. Old good Scrum
  • 5. Story planning in Agile Customer Whole team Acceptance + CriteriaCustomer QA engineer Acceptance Behavior + Tests Samples Whole team Functional Unit Integration Tests Tests Tests
  • 6. Acceptance Criteria format ObservablePreconditions Actor Action result Given [Precondition] When [Actor + Action] Then [Observable Result]
  • 7. Specification by example
  • 8. Automated acceptance testsVisibility Reduced costsCollaboration Reduced risks
  • 9. There are many ways to automate acceptance testsIMPLEMENTATION OPTIONS
  • 10. Large set of available tools
  • 11. But we have WebDriver?!? Get Driver Use Driver Provide Data Use Locators
  • 12. 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
  • 13. Main idea of Thucydides Acceptance Tests Page Objects
  • 14. Every test consists of steps WebDriver Test = Test Case
  • 15. Test steps is great idea! Measure Thinking progress tool Clearer Reusable tests Steps
  • 16. Thucydides is a great framework for acceptance or functional testingTHUCYDIDES IN PRACTICE
  • 17. Specify requirements Module Feature Story
  • 18. Create acceptance test Steps Story Acceptance criteria High-level steps
  • 19. Or more technical test Story Managed driver Pages Steps Test logic
  • 20. Implement steps Base class Page Objects Low-level steps Step marker
  • 21. Locationvalidation Add Page Objects Base class Fields Driver Syntax sugar
  • 22. Reporting is always important
  • 23. General overview Statistics, status and features matrix
  • 24. Report by featuresCoverage, progress and traceability
  • 25. Report by storiesStatus and bug/task tracking integration
  • 26. Detailed test report Time, steps, data and screenshots
  • 27. Historical trends Trends by test status with zoom option
  • 28. Integration with task trackers • Bidirectional • Performs updates • Apply workflow
  • 29. Run tests in different browsers
  • 30. Flexible Page Objects
  • 31. Even more…• Syntax sugar• Lots of utility methods on webelements• Integration with Spring• Easy work with tables• State between steps• Data-driven tests
  • 32. Framework has almost everything for all team membersTHUCYDIDES BENEFITS
  • 33. Easy ATDD/BDD approach Automated AcceptanceAcceptance Tests criteria Analysis Test Implementation Design Automated Acceptance Acceptance Tests criteria
  • 34. Clear iteration progress@Pending tests VS iteration test suite
  • 35. Less technical tests Easy to Clear Readable maintain
  • 36. Happy managers
  • 37. Useful links• http://www.thucydides.info/ - official Thucydideswebsite• https://github.com/thucydides-webtests - project onGitHub
  • 38. @xpinjection http://xpinjection.commikalai.alimenkou@xpinjection.com

×