Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
A Thin Automation Framework 
for Manageable Automated 
Acceptance Testing 
Test-driving your way to a framework that fits ...
Automated Acceptance Tests (AATs) 
What? 
But why?
Automated Acceptance Tests (AATs) 
Why not?
Recorded tests. 
What are my options? 
Write the tests in code.
What are my options? 
Thin automation framework with page 
objects
Key aspects of the framework 
Test-Driven 
Layered 
Static objects 
False failure mitigation
Why you need this framework 
Faster test creation 
Easier to write tests 
Thin & readable tests 
Reusable code and workflo...
Why layering is important 
Tests 
Framework 
Web Driver 
- Tests only talk to framework 
- Framework talks to web driver 
...
Key components of the framework 
Tests -> Static Objects 
Page/Page Component 
Navigation | Workflows | Utilities 
Web Dri...
Demo
Thank you 
wyn.vandevanter@excella.com 
http://www.slideshare.net/wynvandevanter/create-a-maintainable-automated- 
accepta...
Upcoming SlideShare
Loading in …5
×

Create a maintainable Automated Acceptance Test framework

662 views

Published on

Automated Acceptance Tests (AAT) can provide huge value, and can automate time-consuming tasks like regression testing, but aren't easy to scale. Have you tried implementing them only to abandon them later? Are they fragile? Do they give a lot of false positives? Do they take more time to write than the value you're getting out of them? These are common problems with automated acceptance testing, but there are ways to mitigate these issues. One great way is to create a very thin automation framework that helps you write the tests faster while reducing the fragility. Wyn will walk through writing a thin automation framework, illustrating a test-driven approach that yields a framework appropriate for the software being tested. The resulting tests are very clean and readable, and they become faster and faster to write as the framework evolves. He will use C# and Selenium but the concepts are applicable to other languages and browser automation frameworks. He will also illustrate simple approaches that reduce the fragility and maintenance costs of the tests. Participants will come away knowing how to get started on an automation framework that will be easy to understand and maintain, and that should scale as much as needed.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Create a maintainable Automated Acceptance Test framework

  1. 1. A Thin Automation Framework for Manageable Automated Acceptance Testing Test-driving your way to a framework that fits your software Wyn Van Devanter
  2. 2. Automated Acceptance Tests (AATs) What? But why?
  3. 3. Automated Acceptance Tests (AATs) Why not?
  4. 4. Recorded tests. What are my options? Write the tests in code.
  5. 5. What are my options? Thin automation framework with page objects
  6. 6. Key aspects of the framework Test-Driven Layered Static objects False failure mitigation
  7. 7. Why you need this framework Faster test creation Easier to write tests Thin & readable tests Reusable code and workflows
  8. 8. Why layering is important Tests Framework Web Driver - Tests only talk to framework - Framework talks to web driver - No coupling tests - Cleaner, more readable code & tests
  9. 9. Key components of the framework Tests -> Static Objects Page/Page Component Navigation | Workflows | Utilities Web Driver wrapper
  10. 10. Demo
  11. 11. Thank you wyn.vandevanter@excella.com http://www.slideshare.net/wynvandevanter/create-a-maintainable-automated- acceptance-test-framework

×