Guidelines to be considered while developing framework for automation A framework is set of automation guidelines which help in
Maintaining consistency of Testing
Improves test structuring
Minimum usage of code
Less Maintenance of code
Improve re-usability
Non Technical testers can be involved in code
The training period of using the tool can be reduced
Involves Data wherever appropriate
What is a Framework? A framework defines a set of rules or best practices that we can follow in a systematic way to achieve the desired results. So the above-mentioned test automation frameworks deal with best practices to achieve the goals of our automation project.
Types of Test Automation Frameworks Choosing the framework for your project comes down to deciding what guidelines will produce the desired results of the automated tests. Often, developers end up designing a custom framework. This requires experienced testers and dedication to planning for the changes that may arise while implementing the automated testing. In some cases, an existing automation tool already has the functionality necessary to achieve the desired result of automated tests.
Types of Automation Frameworks:
Linear Scripting Framework: Recording and replaying test scripts in sequential (“linear”) fashion with little or no modification.
Data-driven Framework: A constant source of test criteria (internal or external data) specifies the test scripts to run.
Keyword-driven Framework: Tables on a spreadsheet specify the action of a test script based on a library of functions for an assigned keyword.
Modular Testing Framework: Modules of an application under test are divided and tested with individual test scripts that can be combined for larger test scripts.
Hybrid Testing Framework: A combination of frameworks to leverage the strengths of each.