Different Types of Framework used in Automation Testing
There has been a significant evolution of these over the years and some of the important types of these frameworks are:
 Linear Scripting Framework:
This framework is based on the concept of record and playback mode that is always achieved in a linear manner. It is more commonly named as record and playback model.
Typically, in this scripting driven framework, the creation and execution of test scripts is done individually and this framework is an effective way to get started for enterprises.
The automation scripting is done in an incremental manner where every new interaction will be added to the automation tests.
 Modular Testing Framework:
Abstraction is the concept on which this framework is built. Based on the modules, independent test scripts are developed to test the software. Specifically, an abstraction layer is built for the components to be hidden from the application under test.
This sort of abstraction concept ensures that changes made to the other part of the application does not affect the underlying components.
 Data Driven Testing Framework:
In this testing framework, a separate file in a tabular format is used to store both the input and the expected output results. In this framework, a single driver script can execute all the test cases with multiple sets of data.
This driver script contains navigation that spreads through the program which covers both reading of data files and logging of test status information.
 Keyword Driven Testing Framework:
Keyword Driven Testing framework is an application independent framework and uses data tables and keywords to explain the actions to be performed on the application under test. This is more so called as keyword driven test automation framework for web based applications and can be stated as an extension of data driven testing framework.
 Hybrid Testing Framework:
This form of hybrid testing framework is the combination of modular, data-driven and keyword test automation frameworks. As this is a hybrid framework, it has been based on the combination of many types of end-to-end testing approaches.
 Test Driven Development framework (TDD):
Test driven development is a technique of using automated unit tests to drive the design of software and separates it from any dependencies. Earlier, with traditional testing a successful test could find one or more defects, but by using TDD, it increases the speed of tests and improves the confidence that system meets the requirements and is working properly when compared to traditional testing.
 Behavior Driven Development Framework (BDD):
This has been derived from the TDD approach and in this method tests are more focussed and are based on the system behavior. In this approach, the testers can create test cases in simple English language. This simple English language helps even the non-technical people to easily analyse and understand the tests.