SlideShare a Scribd company logo
1 of 16
®
WEBINAR:
Selenium Page Object
vs
Object Repository
• July 19th, 2018 – Alexey Grinevich
®
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
®
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
®
5 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
 Page Object
®
6 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
Object Repository: Basics
 Basic version
®
7 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
Object Repository: Resilience
 More options
 Resilience – more stable recognition
 Automatic recovery
 Record, update, re-use
®
8 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
Object Repository
 Widget type
 Adds known object operations properties (known objects
library)
®
9 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
 Page Object
 With Java Formalities
®
10 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
 Page Object
 With Java Formalities
 With OOP Formalities
®
11 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
 Page Object
 With Java Formalities
 With OOP Formalities
 With Page Object
Formalities
®
12 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
 Page Object
 With Java Formalities
 With OOP Formalities
 With Page Object Formalities
 With Syntactic Sugar
®
13 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
Object Repository
®
14 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
Test Structure
®
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
®
16 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation
Summary
®
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

More Related Content

More from Adam Sandman

More from Adam Sandman (20)

Microsoft Dynamics NAV - Robotic Process Automation (RPA) with Rapise
Microsoft Dynamics NAV - Robotic Process Automation (RPA) with RapiseMicrosoft Dynamics NAV - Robotic Process Automation (RPA) with Rapise
Microsoft Dynamics NAV - Robotic Process Automation (RPA) with Rapise
 
Microsoft Dynamics NAV - Robotic Process Automation (RPA) with Rapise
Microsoft Dynamics NAV - Robotic Process Automation (RPA) with RapiseMicrosoft Dynamics NAV - Robotic Process Automation (RPA) with Rapise
Microsoft Dynamics NAV - Robotic Process Automation (RPA) with Rapise
 
SpiraTest adds Quality & Test Management to Jira
SpiraTest adds Quality & Test Management to JiraSpiraTest adds Quality & Test Management to Jira
SpiraTest adds Quality & Test Management to Jira
 
Rapid Web UI Test Automation with Rapise
Rapid Web UI Test Automation with RapiseRapid Web UI Test Automation with Rapise
Rapid Web UI Test Automation with Rapise
 
Real Testing Scenario Strategy - The Role of Exploratory Testing
Real Testing Scenario Strategy - The Role of Exploratory TestingReal Testing Scenario Strategy - The Role of Exploratory Testing
Real Testing Scenario Strategy - The Role of Exploratory Testing
 
Real Testing Scenario Strategy - Bringing It All Together For Success
Real Testing Scenario Strategy - Bringing It All Together For SuccessReal Testing Scenario Strategy - Bringing It All Together For Success
Real Testing Scenario Strategy - Bringing It All Together For Success
 
Agile in Software Testing - The Government Edition
Agile in Software Testing - The Government EditionAgile in Software Testing - The Government Edition
Agile in Software Testing - The Government Edition
 
Software Development & Testing Challenges in Finance & Banking
Software Development & Testing Challenges in Finance & BankingSoftware Development & Testing Challenges in Finance & Banking
Software Development & Testing Challenges in Finance & Banking
 
Don't Let Your Users be Your Testers - Lunch & Learn
Don't Let Your Users be Your Testers - Lunch & LearnDon't Let Your Users be Your Testers - Lunch & Learn
Don't Let Your Users be Your Testers - Lunch & Learn
 
Inflectra User Summit California 2018 - SpiraTeam, SpiraTest, SpiraPlan, Rapi...
Inflectra User Summit California 2018 - SpiraTeam, SpiraTest, SpiraPlan, Rapi...Inflectra User Summit California 2018 - SpiraTeam, SpiraTest, SpiraPlan, Rapi...
Inflectra User Summit California 2018 - SpiraTeam, SpiraTest, SpiraPlan, Rapi...
 
Inflectra Enterprise Agile Planning Briefing for Gartner 2018
Inflectra Enterprise Agile Planning Briefing for Gartner 2018Inflectra Enterprise Agile Planning Briefing for Gartner 2018
Inflectra Enterprise Agile Planning Briefing for Gartner 2018
 
Using REST and UI Testing to Test Ajax Web Applications
Using REST and UI Testing to Test Ajax Web ApplicationsUsing REST and UI Testing to Test Ajax Web Applications
Using REST and UI Testing to Test Ajax Web Applications
 
Testing & Compliance Challenges for Healthcare in the Cloud
Testing & Compliance Challenges for Healthcare in the CloudTesting & Compliance Challenges for Healthcare in the Cloud
Testing & Compliance Challenges for Healthcare in the Cloud
 
SpiraTest Integrating with Jira Webinar
SpiraTest Integrating with Jira WebinarSpiraTest Integrating with Jira Webinar
SpiraTest Integrating with Jira Webinar
 
Testing Microsoft Dynamics NAV with Rapise
Testing Microsoft Dynamics NAV with RapiseTesting Microsoft Dynamics NAV with Rapise
Testing Microsoft Dynamics NAV with Rapise
 
Inflectra Partner Summit 2017 Q4 - Presentation
Inflectra Partner Summit 2017 Q4 - PresentationInflectra Partner Summit 2017 Q4 - Presentation
Inflectra Partner Summit 2017 Q4 - Presentation
 
Testing a Complex ERP Application Using a Data-Driven Framework
Testing a Complex ERP Application Using a Data-Driven FrameworkTesting a Complex ERP Application Using a Data-Driven Framework
Testing a Complex ERP Application Using a Data-Driven Framework
 
D-CAST Real Life TestOps Environment
D-CAST Real Life TestOps EnvironmentD-CAST Real Life TestOps Environment
D-CAST Real Life TestOps Environment
 
DevGeekWeek 2017 Inflectra Meetup in Herzliya Presentation
DevGeekWeek 2017 Inflectra Meetup in Herzliya PresentationDevGeekWeek 2017 Inflectra Meetup in Herzliya Presentation
DevGeekWeek 2017 Inflectra Meetup in Herzliya Presentation
 
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
 

Recently uploaded

%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Recently uploaded (20)

%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 

Automated Testing - Object Repository vs. Page Objects

  • 1. ® WEBINAR: Selenium Page Object vs Object Repository • July 19th, 2018 – Alexey Grinevich
  • 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. ® 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. ® 5 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object
  • 5. ® 6 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Object Repository: Basics  Basic version
  • 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. ® 8 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Object Repository  Widget type  Adds known object operations properties (known objects library)
  • 8. ® 9 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object  With Java Formalities
  • 9. ® 10 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object  With Java Formalities  With OOP Formalities
  • 10. ® 11 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation  Page Object  With Java Formalities  With OOP Formalities  With Page Object Formalities
  • 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. ® 13 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Object Repository
  • 13. ® 14 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Test Structure
  • 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. ® 16 | 7/20/2018 © Copyright 2006-2018 Inflectra Corporation Summary
  • 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

Editor's Notes

  1. So we can see that most test file is devoted to fitting actual test logic into the requirements caused by OOP/Language/IDE.
  2. See Objects, Locator information (==@FindBy) and Steps