What are different types of Test Automation framework ?

The different types of frameworks are:

  • Data Driven Framework: When the entire test data is generated from some external files like Excel, CSV, XML or some database table, then it is called Data Driven framework.
  • Keyword Driven Framework: When only the instructions and operations are written in a different file like an Excel worksheet, it is called Keyword Driven framework.
  • Hybrid Framework: A combination of both the Data Driven framework and the Keyword Driven framework is called Hybrid framework.
  • Modular Testing Framework: In the modular testing framework, testers create test scripts on module wise by breaking down the complete application under test into smaller, independent tests. In simple words, testers divide the application into multiple modules and create test scripts individually. These individual test scripts can be combined to make larger test scripts by using a master script to achieve the required scenarios.
  • Linear Scripting Framework: Linear Scripting Framework is a basic level test automation framework which is in the form of "Record and Playback" in a linear fashion. This framework is also known as "Record and Playback" framework. This type of framework is used to test small sized applications. In this type, creation, and execution of test script are done individually for each test case individually.
  • BDD Framework: The purpose of this Behavior Driven Development framework is to create a platform which allows everyone (such as Business Analysts, Developers, Testers etc,) to participate actively. It requires increased collaboration between Development and Test Teams.  It doesn’t require the users to be acquainted with a programming language. We use non-technical, natural language to create test specifications. Some of the tools available in the market for Behavior Driven Development is JBehave, Cucumber, etc.