Google ExcelAutomate.com: Types of Testing Automation Framework

Types of Testing Automation Framework

First part in automation process of a application is conducting the automation feasibility study.
The main purpose of the automation feasibility is to find whether the application is feasible to automate or not.
After the automation feasibility ends, the automation tester needs to find which tool is best to perform the automation in that particular application.
E.g : Client want to automate a web log in application, the automation tester can choose the web testing tools like Selenium (open source).

After determining which tool will perform the automation, the automation tester needs to design the framework. Ok what is framework in testing automation?????

Automation framework is like a protocol for that application, or we can say it is having reusable components and methods for that application.

To design a framework for particular application is very difficult job, since the automation tester needs to find which test cases needs to automate, what are complexity of the test cases, test case coverage, etc. 

So in this article I'm going to explain the different types of automation framework....

lets see....

  • 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.

post your comments if you have interesting idea about different automation frameworks....


 

No comments:

Post a Comment