2. What is a framework?
The collection of rules and guidelines that can be followed to get the best results
from the framework
The automation framework provides the user with various benefits that help them
to develop, execute and report the automation test scripts efficiently.
3. Why do you need a framework?
Reusability of code
Easy maintenance
Easy reporting
Reduce manual intervention
Portable
4. Types of Automation Frameworks
Some of the automation frameworks are listed below
Linear Scripting : Record and Playback. Only for small scale application
Module based
Data Driven
Keyword Driven
Hybrid
Behavior Driven
6. Module Based Testing Framework
Test is created module wise, by breaking down the complete application under
test into smaller, independent tests (methods).
The individual tests combine to make a larger script
The test data is also inside the test script. So when we need to set different test
data, we have to change the test script
7. Data Driven Testing Framework
Test Data is placed outside the Test script. (Divide the logic and data in a test)
We can store the data as .csv, .txt.
The concern is that only technical users can understand the logic.
8. Keyword Driven Testing Framework
It not only segregates the test data from the scripts, it also keeps the certain set
of code belonging to the test script into an external data file.
9. Hybrid Testing Framework
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.
10. Behavior Driven Framework
Allows automated functions to be allowed to be easily readable and
understandable by any user