As we know that we use automation for repeated activity in manual testing so we automate those cases which are stable and repeated.
Test automation framework is a mechanism in which we define a logic by which we can execute our test cases and can get a good format of results.
So there are several types of frameworks available which are following :
Data Driven framework.
Keyword driven framework .
Hybrid framework .
etc..