Download presentation
Presentation is loading. Please wait.
1
Thien-An Mac QA consultant / Ghostbugster tmac@thoughtworks.com
2
“Test automation is the use of special software (separate from the software being tested) to control the execution of tests and the comparison of actual outcomes with predicted outcomes.” http://en.wikipedia.org/wiki/Test_automation QTP iMacros Selenium WebDriver Jasmine Xunit
3
Source: http://martinfowler.com/bliki/TestPyramid.html
4
Saves us a lot of time Repeatable Less error prone Reliable
5
GUI Testing Code-driven Testing Allow users to interactively record user actions and replay them back any number of times Pros: Easy to pick up Create test scenarios quickly Cons: Not maintainable Have to wait for the code to be completed Write code to script the actions Pros: Maintainable Organized code Cons: Can become very difficult to maintain Knowledge of basic programming is necessary
6
Selenium WebDriver accepts commands (via a Client API) and sends them to a browser. This is implemented through a browser-specific browser driver, which sends commands to a browser, and retrieves results. Source: http://docs.seleniumhq.org/docs/03_webdriver.jsp
8
- DO automate as much as you can and prioritize the common “happy paths” - DON’T treat automated tests as 3 rd world code - DON’T have non-deterministic tests (aka “flaky” tests) - DON’T make your tests depend on each other - DO clean up your test data
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.