SlideShare a Scribd company logo
1 of 29
AUTOMATION FRAMEWORK
AGENDA
 What is Automation Framework
 Why we need
 Advantages
 Types of Framework
 Framework Architecture
 How to Design (Practical..)
WHAT ?
Automation Framework is not a single
tool or process but it’s collection of
tools and processes working together to
support automated testing of an
application
WHAT ?
It integrates function libraries, test
data, object details and various
reusable modules
WHAT ?
Is an integrated environment that sets
the rules, assumptions, standards,
concepts, guidelines and tools to aid
automated testing
WHY ?
 To maintain the defined approach across the test suites
 To fasten the work progress
 To easy maintain the test code
 To eliminate the human error
 To test the application effectively
 To achieve CT and CD
ADVANTAGES
Defined approach to be followed by everyone across
the test suite
Understandable code
Low cost maintenance
Reusability of code
ADVANTAGES
Maximum coverage
Minimal manual intervention
Easy Execution & Reporting
Automation Frameworks
Module Driven
Framework
Data Driven
Framework
Keyword Driven
Framework
Hybrid
Framework`
TYPES :
MODULE DRIVEN
FRAMEWORK
MODULE DRIVEN FRAMEWORK
Module Driven Framework is based on one of
the OOPs concept – Abstraction
The framework divides the entire “Application
Under Test” into number of logical and isolated
modules
MODULE DRIVEN FRAMEWORK
For each module, we create a separate and
independent test suite
These modules are separated by an abstraction
layer in such a way that the changes made in
one module doesn’t affects other module scripts
MODULE DRIVEN FRAMEWORK
Integrating all the individual modules together
builds a larger test suite representing entire
application under test
PROS’ OF MDF
Easier and cost efficient maintenance due high level of
modularization
The framework is pretty much scalable
If the changes are implemented in one part of the
application, only the test script representing that part
of the application needs to be fixed leaving all the
CONS’ OF MDF
While designing the test scripts for each module, we
embed the test data into the test scripts.Whenever we
want to test with a different set of test data, it requires the
manipulations of test scripts
CONS’ OF MDF
Need to modify the script if sanity or regression based
testing to be performed other parts untouched.
DATA DRIVEN FRAMEWORK
DATA DRIVEN FRAMEWORK
This framework is mainly centralized with Test Data
Test Script will not be embedded with test data
Test Data will be stored in external databases like
xml, csv, excel, odbc repository with key-value map.
Ex :Validating Gmail login functionality

User Name Password HomePage Message
Shruthi Superman Welcome Shruthi
1234 (@)(&) Welcome 1234
Test123 Test456 WelcomeTest123
Key Value
Username_Shruthi Shruthi
Password_Shruthi Superman
WelcomeMessage_Shruthi Welcome Shruthi
PROS’ OF DATA DRIVEN FRAMEWORK
 Pros
 Single test script can be executed with all various Test Data, so more
coverage
 Increases flexibility and maintainability of test data because one place to
modify
 Cons
 The process is bit complex
 Requires proficiency in a programming language that is being used to
develop test data sources and reading mechanisms
PROS’ OF DATA DRIVEN FRAMEWORK
 Pros
 Single test script can be executed with all various Test Data, so more
coverage
 Increases flexibility and maintainability of test data because one place to
modify
 Cons
 The process is bit complex
 Requires proficiency in a programming language that is being used to
develop test data sources and reading mechanisms
3) KEYWORD DRIVEN FRAMEWORK
 As the Name suggests, it enables Keyword Driven Testing or Table Driven
Testing
 Data & Keyword Tables being Independent of the Automation Tool
 Enables documentation of the functionality of the Application under Test
(AUT) in A tabular format
PROS’ & CONS’
 Pros
 Easy to use since the approach is keyword based
 Easy to modify the execution layer
 Cons
 Requires proficiency in a programming language that is being used to
develop keyword based functional library
4) HYBRID FRAMEWORK
 Hybrid Testing Framework is a combination of more than one above
mentioned frameworks. The best thing about such a setup is that it
leverages the benefits of all kinds of associated frameworks
HOWTO DESIGN :
 Identify the Scope of Testing
 Company Oriented, Application Oriented, Project Oriented
 Identification of the Needs of Testing
 Identify Types of testing e.g. Functional Testing, Web Services etc. and
application / modules to be tested
 Evaluation of the Test Automation Tool
 Preparation of Evaluation Checklist, Identification of the Candidate Tools
Available, Sample Run, Rate & Select the Tool, Implementation &
Training
POM DESIGN PATTERN
 Test scripts will be written on page wise
 Ex: Home Page has features like header, footer, menus and carousal
Images.
 All the home page features validation script is written in one class file
 Advantages:
 Script maintenance is easy since its in page level.
 Since its page level, stitching of scripts to make entire test suite is
easy
 Disadvantage's:
 Classifying the scripts into Sanity, Functional and Integration is not
easy
 Partial execution is not possible
HYBRID DESIGN PATTERN
 Hybrid Module
 It’s the combination of multiple framework design pattern like data
driver, keyword driven, module driver etc.
 We can achieve maximum benefit since we are clubbing multiple
frameworks pattern
FRAMEWORK ARCHITECTURE
FRAMEWORK COMPONENT
 Object Repository
 Object Repository is consist of set of locators types associated with web
elements in the application
 Test Data
 Input data with which the test scenario would be tested and it can be the
expected values with which the actual results would be compared.
 Configuration File
 The file stores the information regarding the application URL, browser
specific information, server IP, device ID’s etc.
 Generics/ Readers
 These are the utility classes that store the functions which can be commonly
used across the entire framework.
 Build tools and Continuous Integration
 These are the tools/API’s used to build, deploy the application, generate test
reports, email notifications and logging information.
FRAMEWORK COMPONENT (CONT..
 Logging:
 Logging mechanism generates the log file, which writes the entire stack
information of the application during run
 Reporting
 Reporting is the key point in success of any automation framework
 Since Selenium doesn’t have inbuilt reporting mechanism we can rely on
TestNg / ReportNg report, Extent Report, html based customized report
etc.
 Execution:
 Execution can be initiated by using Eclipse, ANT Build, TestNg , Jenkins
and Email based triggering using outlook
 Scheduling can be done using Windows scheduler and Jenkins

More Related Content

What's hot

Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testingpriya_trivedi
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comIdexcel Technologies
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
A Test Automation Framework
A Test Automation FrameworkA Test Automation Framework
A Test Automation FrameworkGregory Solovey
 
Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkMikhail Subach
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development IntroductionGanuka Yashantha
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planningSivaprasanthRentala1975
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automationsrivinayak
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingKMS Technology
 
Guideto Successful Application Test Automation
Guideto Successful Application Test AutomationGuideto Successful Application Test Automation
Guideto Successful Application Test Automationaimshigh7
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionGanuka Yashantha
 
Software Automation Testing Introduction
Software Automation Testing IntroductionSoftware Automation Testing Introduction
Software Automation Testing IntroductionNarayanan Palani
 
Test Automation
Test AutomationTest Automation
Test Automationrockoder
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologiesMesut Günes
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementationBharathi Krishnamurthi
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing FrameworksMoataz Nabil
 
Automation Framework Design
Automation Framework DesignAutomation Framework Design
Automation Framework DesignKunal Saxena
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with AgileKen McCorkell
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNetHai Tran Son
 

What's hot (20)

Final Automation Testing
Final Automation TestingFinal Automation Testing
Final Automation Testing
 
Test Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.comTest Automation Framework Design | www.idexcel.com
Test Automation Framework Design | www.idexcel.com
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
A Test Automation Framework
A Test Automation FrameworkA Test Automation Framework
A Test Automation Framework
 
Keyword-driven Test Automation Framework
Keyword-driven Test Automation FrameworkKeyword-driven Test Automation Framework
Keyword-driven Test Automation Framework
 
Test Automation Framework Development Introduction
Test Automation Framework Development IntroductionTest Automation Framework Development Introduction
Test Automation Framework Development Introduction
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 
Hybrid framework for test automation
Hybrid framework for test automationHybrid framework for test automation
Hybrid framework for test automation
 
Framework For Automation Testing Practice Sharing
Framework For Automation Testing Practice SharingFramework For Automation Testing Practice Sharing
Framework For Automation Testing Practice Sharing
 
Guideto Successful Application Test Automation
Guideto Successful Application Test AutomationGuideto Successful Application Test Automation
Guideto Successful Application Test Automation
 
Hybrid Automation Framework Development introduction
Hybrid Automation Framework Development introductionHybrid Automation Framework Development introduction
Hybrid Automation Framework Development introduction
 
Automation Framework/QTP Framework
Automation Framework/QTP FrameworkAutomation Framework/QTP Framework
Automation Framework/QTP Framework
 
Software Automation Testing Introduction
Software Automation Testing IntroductionSoftware Automation Testing Introduction
Software Automation Testing Introduction
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Test automation methodologies
Test automation methodologiesTest automation methodologies
Test automation methodologies
 
Centralized test automation framework implementation
Centralized test automation framework implementationCentralized test automation framework implementation
Centralized test automation framework implementation
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
Automation Framework Design
Automation Framework DesignAutomation Framework Design
Automation Framework Design
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
 
Automation testing introduction for FujiNet
Automation testing introduction for FujiNetAutomation testing introduction for FujiNet
Automation testing introduction for FujiNet
 

Similar to Selenium Tutorial for Beginners | Automation framework Basics

Selenium tutorials
Selenium tutorialsSelenium tutorials
Selenium tutorialsDucat
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
Pros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdfPros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdfkalichargn70th171
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-toolBabuDevanandam
 
Test automation wipro
Test automation   wiproTest automation   wipro
Test automation wiproambreprasad77
 
The Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicThe Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicDavid Solivan
 
Selenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - MindtreeSelenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - Mindtreesamirandev1
 
Best Selenium Framework for Testing Web Application - A Mindtree Article
Best Selenium Framework for Testing Web Application - A Mindtree ArticleBest Selenium Framework for Testing Web Application - A Mindtree Article
Best Selenium Framework for Testing Web Application - A Mindtree Articledevraajsingh
 
Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Steve Lange
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptxpavelpopov43
 
Netserv Software Testing
Netserv Software TestingNetserv Software Testing
Netserv Software Testingsthicks14
 
Popular Test Automation Frameworks
Popular Test Automation FrameworksPopular Test Automation Frameworks
Popular Test Automation Frameworkssimonedaniels3
 
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)IRJET Journal
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework PresentationBen Ngo
 
XML2Selenium Technical Presentation
XML2Selenium Technical PresentationXML2Selenium Technical Presentation
XML2Selenium Technical Presentationjazzteam
 
QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation FrameworkYu Tao Zhang
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...DevDay.org
 

Similar to Selenium Tutorial for Beginners | Automation framework Basics (20)

Selenium tutorials
Selenium tutorialsSelenium tutorials
Selenium tutorials
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
Automation frameworks
Automation frameworksAutomation frameworks
Automation frameworks
 
Pros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdfPros and Cons of key test automation frameworks.pdf
Pros and Cons of key test automation frameworks.pdf
 
Choosing right-automation-tool
Choosing right-automation-toolChoosing right-automation-tool
Choosing right-automation-tool
 
Test automation wipro
Test automation   wiproTest automation   wipro
Test automation wipro
 
Test automation process
Test automation processTest automation process
Test automation process
 
Test automation process _ QTP
Test automation process _ QTPTest automation process _ QTP
Test automation process _ QTP
 
The Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs PublicThe Magic Of Application Lifecycle Management In Vs Public
The Magic Of Application Lifecycle Management In Vs Public
 
Selenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - MindtreeSelenium Framework for Testing Web Application - Mindtree
Selenium Framework for Testing Web Application - Mindtree
 
Best Selenium Framework for Testing Web Application - A Mindtree Article
Best Selenium Framework for Testing Web Application - A Mindtree ArticleBest Selenium Framework for Testing Web Application - A Mindtree Article
Best Selenium Framework for Testing Web Application - A Mindtree Article
 
Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)Whats New In 2010 (Msdn & Visual Studio)
Whats New In 2010 (Msdn & Visual Studio)
 
Automation Best Practices.pptx
Automation Best Practices.pptxAutomation Best Practices.pptx
Automation Best Practices.pptx
 
Netserv Software Testing
Netserv Software TestingNetserv Software Testing
Netserv Software Testing
 
Popular Test Automation Frameworks
Popular Test Automation FrameworksPopular Test Automation Frameworks
Popular Test Automation Frameworks
 
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)Automation Testing of Web based Application with Selenium and HP UFT (QTP)
Automation Testing of Web based Application with Selenium and HP UFT (QTP)
 
Automation Framework Presentation
Automation Framework PresentationAutomation Framework Presentation
Automation Framework Presentation
 
XML2Selenium Technical Presentation
XML2Selenium Technical PresentationXML2Selenium Technical Presentation
XML2Selenium Technical Presentation
 
QTP&UFT Automation Framework
QTP&UFT Automation FrameworkQTP&UFT Automation Framework
QTP&UFT Automation Framework
 
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
[DevDay 2017] Automation Testing - Speaker: Nghia Khuong - Project Manager at...
 

More from Techcanvass

ECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
ECBA Exam Questions PDF | ECBA Sample Questions PDF | TechcanvassECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
ECBA Exam Questions PDF | ECBA Sample Questions PDF | TechcanvassTechcanvass
 
Free CCBA exam questions PDF
Free CCBA exam questions PDFFree CCBA exam questions PDF
Free CCBA exam questions PDFTechcanvass
 
Selenium web element commands cheat sheet
Selenium web element commands   cheat sheetSelenium web element commands   cheat sheet
Selenium web element commands cheat sheetTechcanvass
 
CBAP Certification Overview
CBAP Certification OverviewCBAP Certification Overview
CBAP Certification OverviewTechcanvass
 
CCBA Certification Overview
CCBA Certification OverviewCCBA Certification Overview
CCBA Certification OverviewTechcanvass
 
5 things to do to become a Business Analyst
5 things to do to become a Business Analyst5 things to do to become a Business Analyst
5 things to do to become a Business AnalystTechcanvass
 
Business analysis Fundamentals | Fundamentals of business analysis
Business analysis Fundamentals | Fundamentals of business analysisBusiness analysis Fundamentals | Fundamentals of business analysis
Business analysis Fundamentals | Fundamentals of business analysisTechcanvass
 
What is Data Dictionary - BABOK technique
What is Data Dictionary - BABOK techniqueWhat is Data Dictionary - BABOK technique
What is Data Dictionary - BABOK techniqueTechcanvass
 
SQL Quick Reference Card
SQL Quick Reference CardSQL Quick Reference Card
SQL Quick Reference CardTechcanvass
 
Selenium Interview Questions & Answers
Selenium Interview Questions & AnswersSelenium Interview Questions & Answers
Selenium Interview Questions & AnswersTechcanvass
 
IIBA ECBA Certification Exam preparation Strategy
IIBA ECBA Certification Exam preparation StrategyIIBA ECBA Certification Exam preparation Strategy
IIBA ECBA Certification Exam preparation StrategyTechcanvass
 
User stories basics
User stories basicsUser stories basics
User stories basicsTechcanvass
 
Business analyst certifications
Business analyst certificationsBusiness analyst certifications
Business analyst certificationsTechcanvass
 
CBAP sample questions
CBAP sample questionsCBAP sample questions
CBAP sample questionsTechcanvass
 
Agile business analyst
Agile business analystAgile business analyst
Agile business analystTechcanvass
 
Agile Scrum Quick Reference Card
Agile Scrum Quick Reference CardAgile Scrum Quick Reference Card
Agile Scrum Quick Reference CardTechcanvass
 
CBAP Certification Basics
CBAP Certification BasicsCBAP Certification Basics
CBAP Certification BasicsTechcanvass
 
IIBA BABOK version 3 - What's inside
IIBA BABOK version 3 - What's insideIIBA BABOK version 3 - What's inside
IIBA BABOK version 3 - What's insideTechcanvass
 
Business Analysis Core Concepts Model (BACCM)
Business Analysis Core Concepts Model (BACCM)Business Analysis Core Concepts Model (BACCM)
Business Analysis Core Concepts Model (BACCM)Techcanvass
 
Function point analysis introduction
Function point analysis introductionFunction point analysis introduction
Function point analysis introductionTechcanvass
 

More from Techcanvass (20)

ECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
ECBA Exam Questions PDF | ECBA Sample Questions PDF | TechcanvassECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
ECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
 
Free CCBA exam questions PDF
Free CCBA exam questions PDFFree CCBA exam questions PDF
Free CCBA exam questions PDF
 
Selenium web element commands cheat sheet
Selenium web element commands   cheat sheetSelenium web element commands   cheat sheet
Selenium web element commands cheat sheet
 
CBAP Certification Overview
CBAP Certification OverviewCBAP Certification Overview
CBAP Certification Overview
 
CCBA Certification Overview
CCBA Certification OverviewCCBA Certification Overview
CCBA Certification Overview
 
5 things to do to become a Business Analyst
5 things to do to become a Business Analyst5 things to do to become a Business Analyst
5 things to do to become a Business Analyst
 
Business analysis Fundamentals | Fundamentals of business analysis
Business analysis Fundamentals | Fundamentals of business analysisBusiness analysis Fundamentals | Fundamentals of business analysis
Business analysis Fundamentals | Fundamentals of business analysis
 
What is Data Dictionary - BABOK technique
What is Data Dictionary - BABOK techniqueWhat is Data Dictionary - BABOK technique
What is Data Dictionary - BABOK technique
 
SQL Quick Reference Card
SQL Quick Reference CardSQL Quick Reference Card
SQL Quick Reference Card
 
Selenium Interview Questions & Answers
Selenium Interview Questions & AnswersSelenium Interview Questions & Answers
Selenium Interview Questions & Answers
 
IIBA ECBA Certification Exam preparation Strategy
IIBA ECBA Certification Exam preparation StrategyIIBA ECBA Certification Exam preparation Strategy
IIBA ECBA Certification Exam preparation Strategy
 
User stories basics
User stories basicsUser stories basics
User stories basics
 
Business analyst certifications
Business analyst certificationsBusiness analyst certifications
Business analyst certifications
 
CBAP sample questions
CBAP sample questionsCBAP sample questions
CBAP sample questions
 
Agile business analyst
Agile business analystAgile business analyst
Agile business analyst
 
Agile Scrum Quick Reference Card
Agile Scrum Quick Reference CardAgile Scrum Quick Reference Card
Agile Scrum Quick Reference Card
 
CBAP Certification Basics
CBAP Certification BasicsCBAP Certification Basics
CBAP Certification Basics
 
IIBA BABOK version 3 - What's inside
IIBA BABOK version 3 - What's insideIIBA BABOK version 3 - What's inside
IIBA BABOK version 3 - What's inside
 
Business Analysis Core Concepts Model (BACCM)
Business Analysis Core Concepts Model (BACCM)Business Analysis Core Concepts Model (BACCM)
Business Analysis Core Concepts Model (BACCM)
 
Function point analysis introduction
Function point analysis introductionFunction point analysis introduction
Function point analysis introduction
 

Recently uploaded

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Selenium Tutorial for Beginners | Automation framework Basics

  • 2. AGENDA  What is Automation Framework  Why we need  Advantages  Types of Framework  Framework Architecture  How to Design (Practical..)
  • 3. WHAT ? Automation Framework is not a single tool or process but it’s collection of tools and processes working together to support automated testing of an application
  • 4. WHAT ? It integrates function libraries, test data, object details and various reusable modules
  • 5. WHAT ? Is an integrated environment that sets the rules, assumptions, standards, concepts, guidelines and tools to aid automated testing
  • 6. WHY ?  To maintain the defined approach across the test suites  To fasten the work progress  To easy maintain the test code  To eliminate the human error  To test the application effectively  To achieve CT and CD
  • 7. ADVANTAGES Defined approach to be followed by everyone across the test suite Understandable code Low cost maintenance Reusability of code
  • 8. ADVANTAGES Maximum coverage Minimal manual intervention Easy Execution & Reporting
  • 9. Automation Frameworks Module Driven Framework Data Driven Framework Keyword Driven Framework Hybrid Framework` TYPES :
  • 11. MODULE DRIVEN FRAMEWORK Module Driven Framework is based on one of the OOPs concept – Abstraction The framework divides the entire “Application Under Test” into number of logical and isolated modules
  • 12. MODULE DRIVEN FRAMEWORK For each module, we create a separate and independent test suite These modules are separated by an abstraction layer in such a way that the changes made in one module doesn’t affects other module scripts
  • 13. MODULE DRIVEN FRAMEWORK Integrating all the individual modules together builds a larger test suite representing entire application under test
  • 14. PROS’ OF MDF Easier and cost efficient maintenance due high level of modularization The framework is pretty much scalable If the changes are implemented in one part of the application, only the test script representing that part of the application needs to be fixed leaving all the
  • 15. CONS’ OF MDF While designing the test scripts for each module, we embed the test data into the test scripts.Whenever we want to test with a different set of test data, it requires the manipulations of test scripts
  • 16. CONS’ OF MDF Need to modify the script if sanity or regression based testing to be performed other parts untouched.
  • 18. DATA DRIVEN FRAMEWORK This framework is mainly centralized with Test Data Test Script will not be embedded with test data Test Data will be stored in external databases like xml, csv, excel, odbc repository with key-value map. Ex :Validating Gmail login functionality  User Name Password HomePage Message Shruthi Superman Welcome Shruthi 1234 (@)(&) Welcome 1234 Test123 Test456 WelcomeTest123 Key Value Username_Shruthi Shruthi Password_Shruthi Superman WelcomeMessage_Shruthi Welcome Shruthi
  • 19. PROS’ OF DATA DRIVEN FRAMEWORK  Pros  Single test script can be executed with all various Test Data, so more coverage  Increases flexibility and maintainability of test data because one place to modify  Cons  The process is bit complex  Requires proficiency in a programming language that is being used to develop test data sources and reading mechanisms
  • 20. PROS’ OF DATA DRIVEN FRAMEWORK  Pros  Single test script can be executed with all various Test Data, so more coverage  Increases flexibility and maintainability of test data because one place to modify  Cons  The process is bit complex  Requires proficiency in a programming language that is being used to develop test data sources and reading mechanisms
  • 21. 3) KEYWORD DRIVEN FRAMEWORK  As the Name suggests, it enables Keyword Driven Testing or Table Driven Testing  Data & Keyword Tables being Independent of the Automation Tool  Enables documentation of the functionality of the Application under Test (AUT) in A tabular format
  • 22. PROS’ & CONS’  Pros  Easy to use since the approach is keyword based  Easy to modify the execution layer  Cons  Requires proficiency in a programming language that is being used to develop keyword based functional library
  • 23. 4) HYBRID FRAMEWORK  Hybrid Testing Framework is a combination of more than one above mentioned frameworks. The best thing about such a setup is that it leverages the benefits of all kinds of associated frameworks
  • 24. HOWTO DESIGN :  Identify the Scope of Testing  Company Oriented, Application Oriented, Project Oriented  Identification of the Needs of Testing  Identify Types of testing e.g. Functional Testing, Web Services etc. and application / modules to be tested  Evaluation of the Test Automation Tool  Preparation of Evaluation Checklist, Identification of the Candidate Tools Available, Sample Run, Rate & Select the Tool, Implementation & Training
  • 25. POM DESIGN PATTERN  Test scripts will be written on page wise  Ex: Home Page has features like header, footer, menus and carousal Images.  All the home page features validation script is written in one class file  Advantages:  Script maintenance is easy since its in page level.  Since its page level, stitching of scripts to make entire test suite is easy  Disadvantage's:  Classifying the scripts into Sanity, Functional and Integration is not easy  Partial execution is not possible
  • 26. HYBRID DESIGN PATTERN  Hybrid Module  It’s the combination of multiple framework design pattern like data driver, keyword driven, module driver etc.  We can achieve maximum benefit since we are clubbing multiple frameworks pattern
  • 28. FRAMEWORK COMPONENT  Object Repository  Object Repository is consist of set of locators types associated with web elements in the application  Test Data  Input data with which the test scenario would be tested and it can be the expected values with which the actual results would be compared.  Configuration File  The file stores the information regarding the application URL, browser specific information, server IP, device ID’s etc.  Generics/ Readers  These are the utility classes that store the functions which can be commonly used across the entire framework.  Build tools and Continuous Integration  These are the tools/API’s used to build, deploy the application, generate test reports, email notifications and logging information.
  • 29. FRAMEWORK COMPONENT (CONT..  Logging:  Logging mechanism generates the log file, which writes the entire stack information of the application during run  Reporting  Reporting is the key point in success of any automation framework  Since Selenium doesn’t have inbuilt reporting mechanism we can rely on TestNg / ReportNg report, Extent Report, html based customized report etc.  Execution:  Execution can be initiated by using Eclipse, ANT Build, TestNg , Jenkins and Email based triggering using outlook  Scheduling can be done using Windows scheduler and Jenkins

Editor's Notes

  1. Team has 5 members, if each one follow there own idea, thought process to write the code. Then it will leads to problems like unstructured code, Full of ambiguity, difficult to sync the code.
  2. Now we have basic idea what , why and when Automation framework. Now will see what are various types of automation framework.