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

JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
Max Lee
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
Alluxio, Inc.
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
mbmh111980
 

Recently uploaded (20)

10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
AI Hackathon.pptx
AI                        Hackathon.pptxAI                        Hackathon.pptx
AI Hackathon.pptx
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdf
 
OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024OpenChain @ LF Japan Executive Briefing - May 2024
OpenChain @ LF Japan Executive Briefing - May 2024
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
COMPUTER AND ITS COMPONENTS PPT.by naitik sharma Class 9th A mittal internati...
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfMicrosoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
 
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdfMastering Windows 7 A Comprehensive Guide for Power Users .pdf
Mastering Windows 7 A Comprehensive Guide for Power Users .pdf
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdf
 

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