ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

What are the different types of frameworks?

In this post we will discuss about different type of framework which we can use to automate browser using Selenium WebDriver.

Below are the different types of frameworks:
1.Module Based Testing Framework:
In this framework we divide the whole project in various isolated and independent module. This division can be either on the basis of functionality or on the basis of behavior.Codes are written on the basis of module. A Test case can include more than one module.
2.Library Architecture Testing Framework: In this Framework we determine “Happy Path Scenario” that is most common scenario and step and we write functions/method of those steps and put those methods under a library and call those functions in the test scripts whenever required.
3.Data Driven Testing Framework: This framework means that your data will drive your test. If you are changing the data the test coverage will also changed. We achieve this by using parameterization. It lets the user store the test data into an external database. The data is generally stored in “Key-Value” pairs. Thus, the key can be used to access and populate the data within the test scripts.
4.Keyword Driven Testing Framework: In this framework, for each user action/step a keyword will be defined and the code for that keyword will be kept at some other place. This is an extension to Data Driven Framework. This framework is generally developed for manual testers as they don’t have much knowledge of coding.
5.Hybrid Testing Framework: If you will use any two framework mentioned above together. then it is called as Hybrid Framework.
6.Behavior Driven Development Framework: Behavior Driven Development framework allows automation of functional validations in easily readable and understandable format to Business Analysts, Developers, Testers, etc.

 

Facebook Comments

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked *

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!