YouTube: https://youtu.be/2idCKxbhXOk
** Test Automation Engineer Masters Program: https://www.edureka.co/masters-program/automation-testing-engineer-training **
This Edureka Live PPT on ‘Test Automation Framework’ will help you learn about what testing frameworks are and how to build one using Selenium. Below topics are covered in this PPT:
Introduction to Automation Testing
Approaches to Test Automation
Test Automation Frameworks
Types of Test Automation Frameworks
Demo: How to build a test automation framework using selenium.
Security Testing Selenium playlist: https://goo.gl/NmuzXE
Selenium Blog playlist: http://bit.ly/2B7C3QR
Software Testing blog playlist: http://bit.ly/2UXwdJm
Follow us to never miss an update in the future.
YouTube: https://www.youtube.com/user/edurekaIN
Instagram: https://www.instagram.com/edureka_learning/
Facebook: https://www.facebook.com/edurekaIN/
Twitter: https://twitter.com/edurekain
LinkedIn: https://www.linkedin.com/company/edureka
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Test Automation Frameworks Using Selenium | Edureka
1.
2. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Introduction to
Automation Testing
01
02
Approaches to
automation
What is test automation
framework?
03
04
05
Types of Automation
Framework
Demo: How to build
a good Selenium
Framework?
Agenda
4. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Software Testing
Software Testing
Software Testing is a process used to identify the correctness,
completeness and the quality of developed compute software. It includes a
set of activities conducted with intent of finding errors in software so that
it could be corrected before the product is released to end users.
5. Manual testing is essentially self-
explanatory — testing of a web
application is done manually, by
human action
Automated testing uses the
assistance of tools, scripts, and
software to perform test cases by
repeating pre-defined actions
6. Benefits of Automation Testing
Improves reliability of tests
Simplifies test case execution
Increases amount of test coverage
Increases speed of test execution
Minimizing human interaction with testing
Reduces maintenance cost of testing
Improves accuracy of software tests
Saves time and money
Eliminates the need to do boring tasks
Test results are made public
8. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Approaches to Test Automation
Focus on if various sections of
code are performing as per
expectations under different
conditions or not
Code-driven Testing Graphical User
Interface
Application’s having GUI’s can
be tested using this method to
record user actions and
responses
Framework Approach
The framework brings together
function libraries, test data
sources, object details and other
reusable modules
9. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
What is a Framework?
A framework is considered to be a combination of set protocols, rules, standards and
guidelines that can be followed as a whole to get efficient results.
Real- Life Scenario
10. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Test Automation Framework
A testing framework is a set of guidelines and is comprised of a combination of practices and tools that are designed
to help QA professionals perform automation testing more efficiently.
Reusability of code
Recovery scenario
Minimal manual interventionLow maintenance cost
Easy reporting
Maximum coverage
11. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Data-Driven Framework
Keyword-Driven Framework
Modular Testing Framework
Library Architecture Framework
Hybrid Testing Framework
Linear Automation Framework
It is basic level test automation framework which is in the
form of ‘Record and Playback’ in a linear fashion.
• Records each step
• Plays the script
SystemUtil.Run "flight4a.exe","","","open"
Dialog("Login").WinEdit("Agent Name:").Set "Guru99"
Dialog("Login").WinEdit("Password:").Set "Mercury"
Dialog("Login").WinButton("OK").Click
'Check Flight Reservation Window has loaded after successful log-on
Window("Flight Reservation").Check CheckPoint("Flight Reservation")
12. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Data-Driven Framework
Keyword-Driven Framework
Modular Testing Framework
Library Architecture Framework
Hybrid Testing Framework
Linear Automation Framework
Data-driven framework is focused on separating the test
scripts logic and the test data from each other.
13. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Data-Driven Framework
Keyword-Driven Framework
Modular Testing Framework
Library Architecture Framework
Hybrid Testing Framework
Linear Automation Framework
Here each function of the application under test is laid
out in a table with a series of instructions in consecutive
order for each test that needs to be run
14. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Data-Driven Framework
Keyword-Driven Framework
Modular Testing Framework
Library Architecture Framework
Hybrid Testing Framework
Linear Automation Framework
Testers create test scripts on module wise by breaking
down the complete ‘application under test’ into smaller,
independent tests.
15. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Data-Driven Framework
Keyword-Driven Framework
Modular Testing Framework
Library Architecture Framework
Hybrid Testing Framework
Linear Automation Framework
This types of framework is actually built on the module
based testing framework, instead here the application is
divided into functions, rather than creating individual
test scripts.
16. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Data-Driven Framework
Keyword-Driven Framework
Modular Testing Framework
Library Architecture Framework
Hybrid Testing Framework
Linear Automation Framework
Hybrid Test automation framework is the combination
of two or more frameworks mentioned above. It
attempts to leverage the strengths and benefits of other
frameworks for the particular test environment it
18. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
Selenium
Open Source
Easy to use
Selenium WebDriver
Programming languages
19. Cybersecurity Certification Training www.edureka.co/cybersecurity-certification-training
How to build a good Selenium framework?
Outline to initiate the construction of a Selenium framework
Choose a programming language
Choose a unit test framework
Design the framework’s architecture
Choose a reporting mechanism
Integrate your framework with other tools