Maintainable Automation FTW

download Maintainable Automation FTW

of 14

  • date post

    15-May-2015
  • Category

    Business

  • view

    581
  • download

    1

Embed Size (px)

description

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

Transcript of Maintainable Automation FTW

  • 1.Maintainable Automation FTWAdam Goucheradam@element34.ca @adamgoucher

2. People whinge that their functionalautomation is brittle. 3. I say it is brittle. Because they built it that way. 4. Dont be them. 5. Be this guy instead. 6. Page Objects 7. Slice up your pages. 8. Elements 9. Actions 10. Uniquely identify everything 11. Implicit Waits 12. When you automate GMail... 13. All Photos except Little Vader are licensed under Creative Commons. Attribution in order is as follows. http://www.ickr.com/photos/seandreilinger/133299084/http://www.ickr.com/photos/a2gemma/1448178195/ http://www.ickr.com/photos/jwhitesmith/5377810379/http://www.ickr.com/photos/stevendepolo/5644838033/ http://www.ickr.com/photos/mylesdgrant/4643883402/ http://www.ickr.com/photos/hansandcarolyn/2990014925/ http://www.ickr.com/photos/e_monk/4263183119/ http://www.ickr.com/photos/botheredbybees/3152331903/http://www.ickr.com/photos/dacheeses/4730915515/ http://www.ickr.com/photos/akandbdl/5087182268/http://www.ickr.com/photos/bre/3099569707/This deck is similarly licensed as Creative Commons - Attribution.