Automation framework is broadly divided into 4 different
types
·
Linear automation
Framework: linear framework
mainly based on record and play and follow the procedural code.
this framework especially suites for very small projects and for
creation of smoke test suites where only basis tests being executed.
·
Structured automation Framework: In Structured
framework , test cases are writing in more
structured way using loops, if else statements, Switch statement and
conditional statement, but it does not have any functions or modularity
to make the framework more flexible.
·
Modular automation Framework: In Modular
framework, reusable code put in some functions and functions getting called
whenever needed. it makes framework more flexible and easy for maintenance.
·
Data-driven automation Framework: When some
test needs to repeat for different data set , Data driven framework gets used.
In this framework, Parameters in the test case gets linked to databsae, excel,
csv, text files from there test case run for all defined parameter in the file.
·
Keyword-driven automation Framework: As Name suggest, Keyword nothing but
a code which represent some action, say “login”. in this framework, we map the
set of code which perform certain action with a keyword and then we use that
keyword across the framework.
·
Hybrid automation Framework: It is nothing but mix of any
frameworks together. most popular hybrid automation frameworks are Modular-
Data driven and Keyword- data driven.
Hello Saritha ,
ReplyDeleteThe Article on Automation Framework Types is nice. It give detail information about it .Thanks for Sharing the information on Automation Framework Types