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.

Automated Testing - Object Repository vs. Page Objects

294 views

Published on

This webinar discusses best practices for automated software testing frameworks, specifically the popular Selenium WebDriver Page Object pattern, vs. a new approach called an Object Repository

Published in: Software
  • Be the first to comment

  • Be the first to like this

Automated Testing - Object Repository vs. Page Objects

  1. 1. ® WEBINAR: Selenium Page Object vs Object Repository • July 19th, 2018 – Alexey Grinevich
  2. 2. ® 3 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Agenda  Page Object Example  How to Combine Page Object with an Object Repository  How to Choose Language and Environment of a Test Framework  How Page Object pattern is done in Rapise  Conclusions  Q & A
  3. 3. ® 4 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Let’s Look at Page Object  Based on: https://www.pluralsight.com/guides/getting- started-with-page-object-pattern-for-your-selenium-tests  Here is the Demo App
  4. 4. ® 5 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object
  5. 5. ® 6 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Object Repository: Basics  Basic version
  6. 6. ® 7 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Object Repository: Resilience  More options  Resilience – more stable recognition  Automatic recovery  Record, update, re-use
  7. 7. ® 8 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Object Repository  Widget type  Adds known object operations properties (known objects library)
  8. 8. ® 9 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object  With Java Formalities
  9. 9. ® 10 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object  With Java Formalities  With OOP Formalities
  10. 10. ® 11 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object  With Java Formalities  With OOP Formalities  With Page Object Formalities
  11. 11. ® 12 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object  With Java Formalities  With OOP Formalities  With Page Object Formalities  With Syntactic Sugar
  12. 12. ® 13 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Object Repository
  13. 13. ® 14 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Test Structure
  14. 14. ® 15 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation So How to Implement Page Object in Rapise?  The “trade offs”:  Rapise IDE instead of other IDE  RVL instead of <some language>  No OOP Formalities  No Language Formalities  No Syntax Formalities  You already have it
  15. 15. ® 16 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Summary
  16. 16. ® 17 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Q&A Thanks for Watching Subscribe to Inflectra’s Youtube Channel for More Videos on Software Testing

×