SlideShare a Scribd company logo
What is an Automation
Framework ?
Sriram Angajala – Testersworld.com
Description
• Automation Frameworks is an analogy used for a typical
project in software in automation testing world
• AF is a project which have need to full fill the purpose of
automation test suite in effective way
• AF are divided into many categories but based on the
requirement of the project automation framework is used
What people say are
frameworks
• People say they are few type of frameworks
• Data driven
• Function Driven
• Keyword Driven
• Fact: They are supposed to the terms used in the world of
QTP and Winrunner etc. After open source frameworks
are used, now these frameworks no more make any sense
Whats the Framework
then??
• Framework: It is the project, its structure and its internals
combined together called Automation Framework
• To make a robust automation framework they are few
things we have to consider
• PROJECT STUCTURE
• TOOLS USED PART OF PROJECT
• DESIGN PATTERNS USED
• UTILITES AND SUPPORTED CLASSES AND OBJECTS
What is the goal of
automation framework?
• AF should make project easily maintainable
• AF should write plenty of utilities and wrappers so the
further writing the code should be simple enough
• In nutshell AF should create a solid platform and building
blocks for us to implement any new tests easily
• AF should handle any unexpected errors with out
breaking the execution in middle
• AF should log most of the information
What to watch out in
Automation Framework
• Reports including screen shots
• Logging mechanism – to analyze test results and failures
• Head lead test execution and jenkins/Ci compatibile
• Easily changeable configuration – test/uat urls
• Test data should be isolated properly – No hard code data
• Hooks should be implemented (Before, Afters)
• Locators should be isolated from hardcoding values
• Easily Changeable Browsers and Remote Setting
What’s the best for
Selenium – Java Stack
• Tools
• Cucumber JVM – for BDD tests(Gherkin), Step defs and
selecting test execution using tags. Also Hooks and
Assertion
• Intellij – IDE to develop java code easily
• Maven – Build code, automatic dependency, Command line
execution and unit test runner
• Junit – Assertion and Annotations on top of Cucumber
• Reports – Cucumber HTML reports and 3rd Party tools.
What else required for
better framework?
• Additional tools
• Log4J – for logging mechanism
• Properties files – for managing framework settings
• cucumber-reporting – for better cucumber reports
• JDBC – for DB connection
• POI – for excel integration
• Rest Assured – Api tests and calls for 3rd parties like slack,
test rail, hipchat etc
• Visual Regression – Appli Tools
What Design Patterns are
used?
• Factory Methods – Use Browser Factory as single ton
factory methods to generate driver object from single
source
• Page Object Model – Use Page Object Model for Better
code management, easy maintenance, reusable code
• Page Factory – To load locators dynamically and make
elements as object and load them when required
• OOPS – for better manage page structure and base tests.
Base tests, Base Pages
What Utils are needed?
• Webdriver Utils – Many of the webdriver methods need
to be over ridden and wrapped up into better methods to
reduce rework – eg. SelectLastOption();
• System Utils – Waits, Get System Variables, Kill FF
Browser etc
• Business Utils – Utils related to Login, Logouts etc.
• Hooks – Before Class, After Class, Before, After etc
• CLI – Create some CLI utils like –Denv=test to make test
to run and changeable to be flexible to run in jenkins.
Conclusion
• Automation Framework needs are based on requirements
of the test suite and project. So we cant have generic
silver bullet framework. How ever use common tools,
patterns and Utils to make framework robust

More Related Content

What's hot (20)

PPTX
What is eggPlant Functional?
Testplant
 
PDF
Eradicate Flaky Tests - AppiumConf 2021
Anand Bagmar
 
PDF
Sharing the pain using Protractor
Anand Bagmar
 
PPTX
Best java automation training institute in Bangalore - Selenium Labs
Selenium Labs
 
PDF
Multiplication and division of calabash tests
Rajdeep Varma
 
PPTX
Unbox yourself Into Testing
vodqancr
 
PDF
To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Anand Bagmar
 
PPTX
2 selenium-aakar gupte
aakar gupte
 
PPT
Intro to Service Worker API and its use cases
satejsahu
 
PDF
The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Anand Bagmar
 
PDF
The what why and how of web analytics testing
VodqaBLR
 
PDF
Cucumber ppt
Qwinix Technologies
 
PDF
Sharing (less) Pain of using Protractor & WebDriver
Anand Bagmar
 
PPTX
API Virtualization: Mocking on Steroids
SmartBear
 
PPTX
Fast Track introduction to ASP.NET MVC
Ankit Kashyap
 
PPTX
j meter
aakar gupte
 
PPTX
Appium vs Appium with Perfecto
Lizzy Guido (she/her)
 
ODP
Fabulous Tests on Spock and Groovy
Yaroslav Pernerovsky
 
PPTX
Test Automation Framework with BDD and Cucumber
Rhoynar Software Consulting
 
PDF
Automating android
Melvin Laguren
 
What is eggPlant Functional?
Testplant
 
Eradicate Flaky Tests - AppiumConf 2021
Anand Bagmar
 
Sharing the pain using Protractor
Anand Bagmar
 
Best java automation training institute in Bangalore - Selenium Labs
Selenium Labs
 
Multiplication and division of calabash tests
Rajdeep Varma
 
Unbox yourself Into Testing
vodqancr
 
To Deploy or Not-To-Deploy - decide using TTA's Trend & Failure Analysis
Anand Bagmar
 
2 selenium-aakar gupte
aakar gupte
 
Intro to Service Worker API and its use cases
satejsahu
 
The What, Why and How of (Web) Analytics Testing (Web, IoT, Big Data)
Anand Bagmar
 
The what why and how of web analytics testing
VodqaBLR
 
Cucumber ppt
Qwinix Technologies
 
Sharing (less) Pain of using Protractor & WebDriver
Anand Bagmar
 
API Virtualization: Mocking on Steroids
SmartBear
 
Fast Track introduction to ASP.NET MVC
Ankit Kashyap
 
j meter
aakar gupte
 
Appium vs Appium with Perfecto
Lizzy Guido (she/her)
 
Fabulous Tests on Spock and Groovy
Yaroslav Pernerovsky
 
Test Automation Framework with BDD and Cucumber
Rhoynar Software Consulting
 
Automating android
Melvin Laguren
 

Similar to What is an Automation Framework ? (20)

PPT
Designing a Test Automation Framework By Quontra solutions
QUONTRASOLUTIONS
 
PPT
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
PPTX
automation_test_framewjdsjhdsjhsdorks.pptx
srikanthusk99
 
PDF
Automation Framework Design
Kunal Saxena
 
PDF
The Essence of Test Automation Framework Design.pdf
flufftailshop
 
PDF
The Essence of Test Automation Framework Design.pdf
kalichargn70th171
 
PPSX
Software automation
gokilabrindha
 
PDF
Cynthia Wu: Satisfaction Not Guaranteed
Anna Royzman
 
PDF
Test Automation Framework An Insight into Some Popular Automation Frameworks.pdf
Serena Gray
 
PPTX
A Comprehensive Step-by-Step Guide for Designing an Agile-Friendly Automation...
Calidad Infotech
 
PDF
Pros and Cons of key test automation frameworks.pdf
kalichargn70th171
 
PPTX
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
Tyto Software
 
PPTX
Autoframework design
Forge Events
 
PPTX
Good vs power automation frameworks
Kumar Swamy Dontamsetti
 
PPTX
Selenium Tutorial for Beginners | Automation framework Basics
Techcanvass
 
PPTX
An Automation Framework That Really Works
Basivi Reddy Junna
 
PDF
Test automation wipro
ambreprasad77
 
PDF
Choosing right-automation-tool
BabuDevanandam
 
PDF
What is a Test Automation framework.pdf
AnanthReddy38
 
PDF
Test Automation Frameworks- The Complete Guide.pdf
ronikakashyap1
 
Designing a Test Automation Framework By Quontra solutions
QUONTRASOLUTIONS
 
Test Automation Framework Online Training by QuontraSolutions
Quontra Solutions
 
automation_test_framewjdsjhdsjhsdorks.pptx
srikanthusk99
 
Automation Framework Design
Kunal Saxena
 
The Essence of Test Automation Framework Design.pdf
flufftailshop
 
The Essence of Test Automation Framework Design.pdf
kalichargn70th171
 
Software automation
gokilabrindha
 
Cynthia Wu: Satisfaction Not Guaranteed
Anna Royzman
 
Test Automation Framework An Insight into Some Popular Automation Frameworks.pdf
Serena Gray
 
A Comprehensive Step-by-Step Guide for Designing an Agile-Friendly Automation...
Calidad Infotech
 
Pros and Cons of key test automation frameworks.pdf
kalichargn70th171
 
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
Tyto Software
 
Autoframework design
Forge Events
 
Good vs power automation frameworks
Kumar Swamy Dontamsetti
 
Selenium Tutorial for Beginners | Automation framework Basics
Techcanvass
 
An Automation Framework That Really Works
Basivi Reddy Junna
 
Test automation wipro
ambreprasad77
 
Choosing right-automation-tool
BabuDevanandam
 
What is a Test Automation framework.pdf
AnanthReddy38
 
Test Automation Frameworks- The Complete Guide.pdf
ronikakashyap1
 
Ad

More from Sriram Angajala (20)

PDF
Banana apps portfolio
Sriram Angajala
 
PPTX
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
Sriram Angajala
 
PPTX
Software devops engineer in test (SDET)
Sriram Angajala
 
PPTX
Nightwatch JS for End to End Tests
Sriram Angajala
 
PPTX
London SDET Meetup main presentation - How SDET can transform your organisati...
Sriram Angajala
 
PDF
Bdd development flow process from end to end
Sriram Angajala
 
PPTX
Emerging5.0
Sriram Angajala
 
PPTX
Emerging4.0
Sriram Angajala
 
PPTX
Citymovies
Sriram Angajala
 
PPTX
Automated visual-regression-testing
Sriram Angajala
 
PPTX
Automated visual-regression-testing (1)
Sriram Angajala
 
PPTX
Amma Web Site launch
Sriram Angajala
 
PPTX
Mobile Testing
Sriram Angajala
 
PPTX
Ci selenium
Sriram Angajala
 
PPT
Selenium ide material (2)
Sriram Angajala
 
PPT
Selenium ide material (1)
Sriram Angajala
 
PPT
Gcs day1
Sriram Angajala
 
PPT
Module 09 demos and retrospectives gla
Sriram Angajala
 
PPT
Eurostar innovation week 2 (3) (1)
Sriram Angajala
 
PPTX
Insoft training day_1
Sriram Angajala
 
Banana apps portfolio
Sriram Angajala
 
LONDON SDET MEETUP - Difference between Selenium and Cypress presentation
Sriram Angajala
 
Software devops engineer in test (SDET)
Sriram Angajala
 
Nightwatch JS for End to End Tests
Sriram Angajala
 
London SDET Meetup main presentation - How SDET can transform your organisati...
Sriram Angajala
 
Bdd development flow process from end to end
Sriram Angajala
 
Emerging5.0
Sriram Angajala
 
Emerging4.0
Sriram Angajala
 
Citymovies
Sriram Angajala
 
Automated visual-regression-testing
Sriram Angajala
 
Automated visual-regression-testing (1)
Sriram Angajala
 
Amma Web Site launch
Sriram Angajala
 
Mobile Testing
Sriram Angajala
 
Ci selenium
Sriram Angajala
 
Selenium ide material (2)
Sriram Angajala
 
Selenium ide material (1)
Sriram Angajala
 
Gcs day1
Sriram Angajala
 
Module 09 demos and retrospectives gla
Sriram Angajala
 
Eurostar innovation week 2 (3) (1)
Sriram Angajala
 
Insoft training day_1
Sriram Angajala
 
Ad

Recently uploaded (20)

PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
HiHelloHR – Simplify HR Operations for Modern Workplaces
HiHelloHR
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 

What is an Automation Framework ?

  • 1. What is an Automation Framework ? Sriram Angajala – Testersworld.com
  • 2. Description • Automation Frameworks is an analogy used for a typical project in software in automation testing world • AF is a project which have need to full fill the purpose of automation test suite in effective way • AF are divided into many categories but based on the requirement of the project automation framework is used
  • 3. What people say are frameworks • People say they are few type of frameworks • Data driven • Function Driven • Keyword Driven • Fact: They are supposed to the terms used in the world of QTP and Winrunner etc. After open source frameworks are used, now these frameworks no more make any sense
  • 4. Whats the Framework then?? • Framework: It is the project, its structure and its internals combined together called Automation Framework • To make a robust automation framework they are few things we have to consider • PROJECT STUCTURE • TOOLS USED PART OF PROJECT • DESIGN PATTERNS USED • UTILITES AND SUPPORTED CLASSES AND OBJECTS
  • 5. What is the goal of automation framework? • AF should make project easily maintainable • AF should write plenty of utilities and wrappers so the further writing the code should be simple enough • In nutshell AF should create a solid platform and building blocks for us to implement any new tests easily • AF should handle any unexpected errors with out breaking the execution in middle • AF should log most of the information
  • 6. What to watch out in Automation Framework • Reports including screen shots • Logging mechanism – to analyze test results and failures • Head lead test execution and jenkins/Ci compatibile • Easily changeable configuration – test/uat urls • Test data should be isolated properly – No hard code data • Hooks should be implemented (Before, Afters) • Locators should be isolated from hardcoding values • Easily Changeable Browsers and Remote Setting
  • 7. What’s the best for Selenium – Java Stack • Tools • Cucumber JVM – for BDD tests(Gherkin), Step defs and selecting test execution using tags. Also Hooks and Assertion • Intellij – IDE to develop java code easily • Maven – Build code, automatic dependency, Command line execution and unit test runner • Junit – Assertion and Annotations on top of Cucumber • Reports – Cucumber HTML reports and 3rd Party tools.
  • 8. What else required for better framework? • Additional tools • Log4J – for logging mechanism • Properties files – for managing framework settings • cucumber-reporting – for better cucumber reports • JDBC – for DB connection • POI – for excel integration • Rest Assured – Api tests and calls for 3rd parties like slack, test rail, hipchat etc • Visual Regression – Appli Tools
  • 9. What Design Patterns are used? • Factory Methods – Use Browser Factory as single ton factory methods to generate driver object from single source • Page Object Model – Use Page Object Model for Better code management, easy maintenance, reusable code • Page Factory – To load locators dynamically and make elements as object and load them when required • OOPS – for better manage page structure and base tests. Base tests, Base Pages
  • 10. What Utils are needed? • Webdriver Utils – Many of the webdriver methods need to be over ridden and wrapped up into better methods to reduce rework – eg. SelectLastOption(); • System Utils – Waits, Get System Variables, Kill FF Browser etc • Business Utils – Utils related to Login, Logouts etc. • Hooks – Before Class, After Class, Before, After etc • CLI – Create some CLI utils like –Denv=test to make test to run and changeable to be flexible to run in jenkins.
  • 11. Conclusion • Automation Framework needs are based on requirements of the test suite and project. So we cant have generic silver bullet framework. How ever use common tools, patterns and Utils to make framework robust