Different types of Automation Frameworks

Below are the different types of Automation Frameworks:

  1. Linear Automation Framework
  2. Modular Automation Framework
  3. Data Driven Automation Framework
  4. Keyword Driven Automation Framework
  5. Hybrid Automation Framework
  6. 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.

Pros:

– No coding expertise required

– Fastest way to generate test scripts

Cons:

– 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.

Pros:

– 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.

Cons:

– 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.

Pros:

– Tests can be executed with multiple data sets.

– Reduces the number of test scripts.

Cons:

– 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.

Pros:

– Keywords are reusable and can be used across multiple test sets.

– Tests can be designed without AUT.

Cons:

– 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.

Pros:

– It is a combination of frameworks with all the benefits.

Cons:

– 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.

Pros:

– Increases collaboration among team members.

– Living documentation of all test scenarios.

Cons:

– Need consistent involvement of business users to build the features.

Share

Bijan Patel

Founder & Creator of QAScript | 12+ years of IT Experience | Full Stack Automation Engineer | Blogger | Trainer

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!