Maintainable Automation         FTW            Adam Goucher    adam@element34.ca @adamgoucher
People whinge that their functional      automation is brittle.
I say it is brittle. Because they built it                 that way.
Don’t be them.
Be this guy instead.
Page Objects
Slice up your pages.
Elements
Actions
Uniquely identify everything
Implicit Waits
When you automate     GMail...
All Photos except Little Vader are licensed under Creative Commons. Attribution in                                 order i...
Maintainable Automation FTW
Upcoming SlideShare
Loading in …5
×

Maintainable Automation FTW

719
-1

Published on

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

Essentially,
- 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
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
719
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Maintainable Automation FTW

  1. 1. Maintainable Automation FTW Adam Goucher adam@element34.ca @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. http://www.flickr.com/photos/seandreilinger/133299084/ http://www.flickr.com/photos/a2gemma/1448178195/ http://www.flickr.com/photos/jwhitesmith/5377810379/ http://www.flickr.com/photos/stevendepolo/5644838033/ http://www.flickr.com/photos/mylesdgrant/4643883402/ http://www.flickr.com/photos/hansandcarolyn/2990014925/ http://www.flickr.com/photos/e_monk/4263183119/ http://www.flickr.com/photos/botheredbybees/3152331903/ http://www.flickr.com/photos/dacheeses/4730915515/ http://www.flickr.com/photos/akandbdl/5087182268/ http://www.flickr.com/photos/bre/3099569707/ This deck is similarly licensed as Creative Commons - Attribution.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×