Explain modular automation framework.

In a modular automation framework, test scripts are developed on the basis of modules or clusters by dividing the entire application into several small and self-sufficient blocks. Thus individual test scripts belonging to a particular module or cluster are created.

These scripts belonging to these isolated modules can be integrated and can be driven by a master driver script to perform integration testing among the modules. All these are achieved with the help of common function libraries (containing essential methods and procedures) which are used while developing scripts for the modules.

Modular automation framework follows the concept of Abstraction. Here in this framework, we plant the test data into the test scripts. So in case we need to test with a different combination of test data, directly test scripts need to be updated.

The smaller modules in the framework communicate with each other in a hierarchical manner to form a large script which is capable of testing an entire scenario.

The advantages of modular testing framework are listed below −

  • If a particular module or cluster is impacted, the test scripts developed for that cluster only need to be updated. The test scripts for the other modules remain the same.

  • Can be easily expandable.

  • Modular frameworks are flexible and easy to maintain.

Updated on: 11-Jun-2020

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started