Below are the different types of Automation Frameworks:
- Linear Automation Framework
- Modular Automation Framework
- Data Driven Automation Framework
- Keyword Driven Automation Framework
- Hybrid Automation Framework
- Behaviour Driven Development Framework
1. Linear Automation Framework
It is the simplest test automation framework which is also known as Record and Playback framework. In this framework testers can record each step like navigation, user input or checkpoints and then playback the script to conduct the test.
– No coding expertise required
– Fastest way to generate test scripts
– Scripts cannot be reused
– Maintenance is difficult
– Test data is hard-coded
2. Modular Automation Framework
In this framework, testers create scripts for different modules of the application and then combine them to build larger tests in a hierarchical fashion.
– It ensures the division of scripts that leads to easier maintenance and scalability.
– Creation of test cases is simpler as test scripts for different modules can be reused.
– Additional time is required in analyzing the test cases and identifying reusable flows.
– Technical expertise is required to build functions.
3. Data Driven Framework
This is focused on separating the test scripts logic and the test data from each other. Test Data is read from the external files like Excel Files, Text Files, CSV Files, ODBC Sources, DAO Objects.
– Tests can be executed with multiple data sets.
– Reduces the number of test scripts.
– More time and resources are required to prepare test scripts and data.
4. Keyword Driven Framework
This framework is based on business keywords which could be a user action or a specific application feature. Keywords are also stored in an external data table , making them independent from the automated testing tool being used to execute the tests.
– Keywords are reusable and can be used across multiple test sets.
– Tests can be designed without AUT.
– Initial cost of development is high.
– Testers with good automation experience is required.
5. Hybrid Automation Framework
It is a combination of two or more frameworks. It attempts to leverage the strengths and benefits of other frameworks.
– It is a combination of frameworks with all the benefits.
– Automation effort required to build this framework is higher.
6. Behaviour Driven Development Framework
BDD is a development process that encourages collaboration among developers, QA and non-technical or business participants in a software project.
– Increases collaboration among team members.
– Living documentation of all test scenarios.
– Need consistent involvement of business users to build the features.