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.

Maintainable Automation FTW


Published on

My slides from Agile Tour Toronto 2011 on creating maintainable automation.

- use page objects
- use id attributes rather than structural locators
- implicit waits can help, but are also semi-evil
- don't automate stuff you should not be automating

Published in: Business, Technology
  • Be the first to comment

  • Be the first to like this

Maintainable Automation FTW

  1. 1. Maintainable Automation FTW Adam Goucher @adamgoucher
  2. 2. People whinge that their functional automation is brittle.
  3. 3. I say it is brittle. Because they built it that way.
  4. 4. Don’t be them.
  5. 5. Be this guy instead.
  6. 6. Page Objects
  7. 7. Slice up your pages.
  8. 8. Elements
  9. 9. Actions
  10. 10. Uniquely identify everything
  11. 11. Implicit Waits
  12. 12. When you automate GMail...
  13. 13. All Photos except Little Vader are licensed under Creative Commons. Attribution in order is as follows. This deck is similarly licensed as Creative Commons - Attribution.