menu
What is a framework in automation testing?
What is a framework in automation testing?
Automation testing is a popular and fast-growing direction in testing.

The automation testing framework is a set of recommendations, guidelines, and principles created for easier and more effective work with automation testing. The framework may contain final results and goals, test libraries, coding standards, test tools, etc.  It helps to plan a test automation strategy.

A framework isn't a common rule, but if you implement it in your project, you'll get better results such as reducing maintenance costs and risks, increasing a team's efficiency, and test accuracy.   

There are six types of automation testing framework which you can choose according to your project needs. 

  1. Linear Automation Framework. It's a basic framework, with a quick and easy workflow. A framework perfect for small application and function 

  2. Modular Based Testing Framework. To implement this framework, test engineers divide the application into separate modules. Each module is tested independently. Such a system is convenient for application changes, the engineer will change only a particular module and script, but the rest of the application remains unchanged. 

  3. Library Architecture Testing Framework. This framework is based on a modular one. Testers do not divide the application into test cases but into functions under the library. These functions are called during testing if required. 

  4. Data-Driven Framework. When you test an application, some functions are required to be tested several times with a different set of input data. To prevent test data from being embedded in a test script, this data is stored in external databases. That is, this framework allows you to separate test cases from a data set. 

  5. Keyword-Driven Framework. For this framework, engineers write a set of keywords to conduct a specific action during testing. Each set of words is connected with a particular function. 

  6. Hybrid Testing Framework. It's a combination of Keyword-driven and Data-driven frameworks.