SlideShare una empresa de Scribd logo
1 de 23
Hybrid Automation Framework
11/20/15
Presenter:- Glasdon Falcao
Understanding Automation Testing To Start With??
11/20/15
Traditionally performed with tools that mimic manual test flows
using a record and play-back system similar to Marco recording
in excel
How does this work with Tool:-
•Capture manual test flow, using record capability.
•While recording, captures object on which actions are
performed and stores them in an object repository.
•On playback objects on page checked against OR for match.
•Tools then generates user actions on objects (e.g. button click)
to replicate test flow.
•Test scripts can be customized to use multiple data sets for the
same test flow or to modify test flow.
Problems With This Approach & A Solution Of
Course….
11/20/15
This Test Automation Approach has for the most part been a failure.
Why?
•Automation tools have been oversold. They have been given capabilities that they do
not necessarily posses. E.g. demonstrate capabilities on one system and believe that
would extend to all systems.
•Record and Playback looks great but performs poorly in practice.
•Work great for small projects but scales poorly.
•Do not port well from one project to another.
•Hard to customize
The Solution Of Course:-
Is To build a layer over existing automation tools (An Automation Framework Layer).
•Tools still used (in the general case) to capture object properties
•Framework Provides a library of functions that hides underlying complexity from users.
•Modular design makes it easy to extend
•User friendly interface and reporting options
•Uses Global parameters and variables to compensate for changes in application.
Different Ways to Design A Framework
11/20/15
I Believe With And
There Are:
•Test Script Modularity Framework OR Page-Object Model
Framework
•Data-Driven Automation Frameworks
•Keyword-Driven Automation Framework
•Hybrid Test Automation Framework
•Behaviour Driven Development.
All others are just derived versions and given different names.
POC And Selecting A Right Framework…
11/20/15
The major problem we usually have :-
1.Coverage 2. Maintaining Scripts
3.Reuse 4. Record/Playback
5. A different views of automation testing.
Some record/playback scripts Using A
Tool
How A Keyword Automation Framework Layer (Diagrammatically)
Should Be?
11/20/15
The Good And The Bad Of This Approach…
11/20/15
The Good
•Much easier to extend to larger projects.
•Designed to be highly modular, so changes in the application are
easier to deal with.
•Highly customizable, easy to modify across projects.
•Reduced maintenance costs.
•Isolates technical nitty-gritty of test case scripting from test
execution.
The Bad
•Adds additional overhead of testers having to understand the
framework
•Performs poorly when application changes often as test scripts must
be continually modified
•Often sold as a panacea, Automation testing however takes time and
effort no matter how you do it.
What Are We Looking AT???
11/20/15
YES.. We Have One Working
Automation Framework In Place To
Help Us With Out Testing Cycle.
Traceability Matrix
GlasdonFalcao20/11/15
Automation
Development Matrix
What A Automation Framework Should Have…
11/20/15
How A Automation Framework Control Flow Should
Be..
11/20/15
Additional Capability
11/20/15
This framework has data driven capability which can be used for
certain test cases which may need multiple Datasets.
So we now have two hybrid frameworks in one at our disposal..
1.Keyword Driven + Data Driven = Hybrid Framework
2.Data Driven + Page Object Model = Hybrid Framework.
Reporting..
11/20/15
We have two level of reporting integrated with the framework.
1.An Technical Logger Which may identify any failures at
granular level and can assist in troubleshooting.
2.Reports In HTML Format with capabilities For:-
• Provides two types of reports summary and detailed report
• The summary report provides details of execution duration, test start
time and end time
• Screenshot captured of each execution step
• The detailed reports describe exceptional cases handled, steps
passed, and steps failed.
• Video Recording of the execution.
• Good Graphical View At Start.
Why Need A Technical Logger – For Trouble Shooting
20/11/15
Why Need A Good Reporting System
11/20/15
Plus Reporting..
11/20/15
What Else.. A Continuous Integration Should Add Value..
20/11/15
Jenkins? About Jenkins?
• Build Scheduling
• Build Deployment
• Automated Process For Automation Script Run
• Notifications & Communications
20/11/15
What We Still Want To Achieve…
11/20/15
Configurable UI Interface - Proposed
20/11/15
Consolidated Reporting Interface
20/11/15
More To Automation Framework
We have more framework development to do notably:-
-Extending framework support for more web objects.
-Extending framework support for browsers and more OS.
-Framework Support for web testing on tablet with existing
scripts using Appium
-Performance support via Selenium and Visual Studio..
-Jenkins integration of tools.
-And many more…
20/11/15
Thank You …
11/20/15

Más contenido relacionado

La actualidad más candente

Automation Framework Design
Automation Framework DesignAutomation Framework Design
Automation Framework Design
Kunal Saxena
 
Automation framework
Automation framework Automation framework
Automation framework
ITeLearn
 
Automation Framework/QTP Framework
Automation Framework/QTP FrameworkAutomation Framework/QTP Framework
Automation Framework/QTP Framework
HeyDay Software Solutions
 

La actualidad más candente (20)

Introduction to Gauge
Introduction to GaugeIntroduction to Gauge
Introduction to Gauge
 
Software Test Patterns: Successes and Challenges
Software Test Patterns: Successes and ChallengesSoftware Test Patterns: Successes and Challenges
Software Test Patterns: Successes and Challenges
 
Designing a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutionsDesigning a Test Automation Framework By Quontra solutions
Designing a Test Automation Framework By Quontra solutions
 
Test Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutionsTest Automation Framework Online Training by QuontraSolutions
Test Automation Framework Online Training by QuontraSolutions
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Automation Framework 042009 V2
Automation Framework   042009  V2Automation Framework   042009  V2
Automation Framework 042009 V2
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice Sharing
 
Automation test scripting techniques
Automation test scripting techniquesAutomation test scripting techniques
Automation test scripting techniques
 
Test Automation failure analysis
Test Automation failure analysisTest Automation failure analysis
Test Automation failure analysis
 
Test automation principles, terminologies and implementations
Test automation principles, terminologies and implementationsTest automation principles, terminologies and implementations
Test automation principles, terminologies and implementations
 
IGT's Intelligent Automation Framework
IGT's Intelligent Automation FrameworkIGT's Intelligent Automation Framework
IGT's Intelligent Automation Framework
 
Selenium Test Automation
Selenium Test AutomationSelenium Test Automation
Selenium Test Automation
 
Automation Framework Design
Automation Framework DesignAutomation Framework Design
Automation Framework Design
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
 
Mobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar GargMobile Test Automation Framework : Presented By Shankar Garg
Mobile Test Automation Framework : Presented By Shankar Garg
 
Automation framework
Automation framework Automation framework
Automation framework
 
Automation Framework/QTP Framework
Automation Framework/QTP FrameworkAutomation Framework/QTP Framework
Automation Framework/QTP Framework
 
A Test Automation Framework
A Test Automation FrameworkA Test Automation Framework
A Test Automation Framework
 
Software Automation Testing Introduction
Software Automation Testing IntroductionSoftware Automation Testing Introduction
Software Automation Testing Introduction
 
Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium Data driven Automation Framework with Selenium
Data driven Automation Framework with Selenium
 

Destacado

WSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and AdoptionWSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and Adoption
WSO2
 

Destacado (6)

WSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and AdoptionWSO2 Test Automation Framework : Approach and Adoption
WSO2 Test Automation Framework : Approach and Adoption
 
Automated UI Testing Frameworks
Automated UI Testing FrameworksAutomated UI Testing Frameworks
Automated UI Testing Frameworks
 
Designing keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with SeleniumDesigning keyword and Data Driven Automation framework with Selenium
Designing keyword and Data Driven Automation framework with Selenium
 
TestNG Framework
TestNG Framework TestNG Framework
TestNG Framework
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Java Basics for selenium
Java Basics for seleniumJava Basics for selenium
Java Basics for selenium
 

Similar a Hybrid Automation Framework Developement

Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
CIVEL Benoit
 

Similar a Hybrid Automation Framework Developement (20)

Practical Software Testing Tools
Practical Software Testing ToolsPractical Software Testing Tools
Practical Software Testing Tools
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
 
Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6Browser-Based Load Testing with Grafana K6
Browser-Based Load Testing with Grafana K6
 
Next-gen Automation Framework
Next-gen Automation FrameworkNext-gen Automation Framework
Next-gen Automation Framework
 
Testing - How Vital and How Easy to use
Testing - How Vital and How Easy to useTesting - How Vital and How Easy to use
Testing - How Vital and How Easy to use
 
Optimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best PracticesOptimus XPages: An Explosion of Techniques and Best Practices
Optimus XPages: An Explosion of Techniques and Best Practices
 
DevOps / Agile Tools Seminar 2013
DevOps / Agile Tools Seminar 2013DevOps / Agile Tools Seminar 2013
DevOps / Agile Tools Seminar 2013
 
[DPE Summit] How Improving the Testing Experience Goes Beyond Quality: A Deve...
[DPE Summit] How Improving the Testing Experience Goes Beyond Quality: A Deve...[DPE Summit] How Improving the Testing Experience Goes Beyond Quality: A Deve...
[DPE Summit] How Improving the Testing Experience Goes Beyond Quality: A Deve...
 
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
Nesma autumn conference 2015 - Is FPA a valuable addition to predictable agil...
 
Why retail companies can't afford database downtime
Why retail companies can't afford database downtimeWhy retail companies can't afford database downtime
Why retail companies can't afford database downtime
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)Cerberus : Framework for Manual and Automated Testing (Web Application)
Cerberus : Framework for Manual and Automated Testing (Web Application)
 
Cerberus_Presentation1
Cerberus_Presentation1Cerberus_Presentation1
Cerberus_Presentation1
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014
 
2015 02 24 lmtv baselining
2015 02 24 lmtv baselining2015 02 24 lmtv baselining
2015 02 24 lmtv baselining
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
 
Berlin QA - Performance Testing
Berlin QA - Performance TestingBerlin QA - Performance Testing
Berlin QA - Performance Testing
 
Maheshresumeselenium
MaheshresumeseleniumMaheshresumeselenium
Maheshresumeselenium
 
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
The Importance of Performance Testing Theory and Practice - QueBIT Consulting...
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool Overview
 

Hybrid Automation Framework Developement

  • 2. Understanding Automation Testing To Start With?? 11/20/15 Traditionally performed with tools that mimic manual test flows using a record and play-back system similar to Marco recording in excel How does this work with Tool:- •Capture manual test flow, using record capability. •While recording, captures object on which actions are performed and stores them in an object repository. •On playback objects on page checked against OR for match. •Tools then generates user actions on objects (e.g. button click) to replicate test flow. •Test scripts can be customized to use multiple data sets for the same test flow or to modify test flow.
  • 3. Problems With This Approach & A Solution Of Course…. 11/20/15 This Test Automation Approach has for the most part been a failure. Why? •Automation tools have been oversold. They have been given capabilities that they do not necessarily posses. E.g. demonstrate capabilities on one system and believe that would extend to all systems. •Record and Playback looks great but performs poorly in practice. •Work great for small projects but scales poorly. •Do not port well from one project to another. •Hard to customize The Solution Of Course:- Is To build a layer over existing automation tools (An Automation Framework Layer). •Tools still used (in the general case) to capture object properties •Framework Provides a library of functions that hides underlying complexity from users. •Modular design makes it easy to extend •User friendly interface and reporting options •Uses Global parameters and variables to compensate for changes in application.
  • 4. Different Ways to Design A Framework 11/20/15 I Believe With And There Are: •Test Script Modularity Framework OR Page-Object Model Framework •Data-Driven Automation Frameworks •Keyword-Driven Automation Framework •Hybrid Test Automation Framework •Behaviour Driven Development. All others are just derived versions and given different names.
  • 5. POC And Selecting A Right Framework… 11/20/15 The major problem we usually have :- 1.Coverage 2. Maintaining Scripts 3.Reuse 4. Record/Playback 5. A different views of automation testing. Some record/playback scripts Using A Tool
  • 6. How A Keyword Automation Framework Layer (Diagrammatically) Should Be? 11/20/15
  • 7. The Good And The Bad Of This Approach… 11/20/15 The Good •Much easier to extend to larger projects. •Designed to be highly modular, so changes in the application are easier to deal with. •Highly customizable, easy to modify across projects. •Reduced maintenance costs. •Isolates technical nitty-gritty of test case scripting from test execution. The Bad •Adds additional overhead of testers having to understand the framework •Performs poorly when application changes often as test scripts must be continually modified •Often sold as a panacea, Automation testing however takes time and effort no matter how you do it.
  • 8. What Are We Looking AT??? 11/20/15 YES.. We Have One Working Automation Framework In Place To Help Us With Out Testing Cycle.
  • 10. What A Automation Framework Should Have… 11/20/15
  • 11. How A Automation Framework Control Flow Should Be.. 11/20/15
  • 12. Additional Capability 11/20/15 This framework has data driven capability which can be used for certain test cases which may need multiple Datasets. So we now have two hybrid frameworks in one at our disposal.. 1.Keyword Driven + Data Driven = Hybrid Framework 2.Data Driven + Page Object Model = Hybrid Framework.
  • 13. Reporting.. 11/20/15 We have two level of reporting integrated with the framework. 1.An Technical Logger Which may identify any failures at granular level and can assist in troubleshooting. 2.Reports In HTML Format with capabilities For:- • Provides two types of reports summary and detailed report • The summary report provides details of execution duration, test start time and end time • Screenshot captured of each execution step • The detailed reports describe exceptional cases handled, steps passed, and steps failed. • Video Recording of the execution. • Good Graphical View At Start.
  • 14. Why Need A Technical Logger – For Trouble Shooting 20/11/15
  • 15. Why Need A Good Reporting System 11/20/15
  • 17. What Else.. A Continuous Integration Should Add Value.. 20/11/15
  • 18. Jenkins? About Jenkins? • Build Scheduling • Build Deployment • Automated Process For Automation Script Run • Notifications & Communications 20/11/15
  • 19. What We Still Want To Achieve… 11/20/15
  • 20. Configurable UI Interface - Proposed 20/11/15
  • 22. More To Automation Framework We have more framework development to do notably:- -Extending framework support for more web objects. -Extending framework support for browsers and more OS. -Framework Support for web testing on tablet with existing scripts using Appium -Performance support via Selenium and Visual Studio.. -Jenkins integration of tools. -And many more… 20/11/15