Modularity allows decomposing the components and/or functionality and recombines them. This approach is a design technique that emphasizes on separating the functionality of an AUT into independent, interconnected modules such that each module contains everything necessary to execute only one aspect of the desired functionality.
Achieving the modularity requires modularity at two different layers; one layer is test and the other layer is script. To create a modular framework, we need to decompose the test layer into manageable pieces based on their objectives. For example, common test libraries are separate from function libraries. At test level, we decompose the key libraries and resources into a structure to achieve the automation goals using appropriate design.
There are four distinct parts of the modular framework:
Script-level modularity
Test-level modularity
Resource structure
Framework design
Let's take the example of the Flight application; the entire...