A framework is an integrated system that sets the rules of Automation of a specific product. This system integrates the function libraries, test data sources, object details and various reusable modules. These components act as small building blocks which need to be assembled to represent a business process. The framework provides the basis of test automation and simplifies the automation effort.
These are the various types of automation frameworks
Data-driven testing:Test Scripts are executed based on the data
Modularity-driven testing :Test Scripts are created based on small and independent modules
Keyword-driven testing :
The keyword-driven testing methodology divides test creation into two stages:-
A simple keyword (one action on one object), e.g. entering a username into a textfield
or test designers (who don’t have to know how to program) write test cases based on the keywords defined in the planning stage that have been implemented by the engineers. The test is executed using a driver that reads the keywords and executes the corresponding code.
Hybrid testing :The hybrid Test Automation Framework is what most frameworks evolve into over time and multiple projects
Model-based testing: Model-based testing is the application of Model based design for designing and executing the necessary artifacts to perform software testing. This is achieved by having a model that describes all aspects of the testing data, mainly the test cases and the test execution environment. Usually, the testing model is derived in whole or in part from a model that describes some (usually functional) aspects of the system under test (SUT).
Will update each approach in detail :)