Last updated on May 14th, 2018 at 10:47 pm
We are aware of what is framework and its properties from previous posts. If you have not read yet, please do read before continuing this post.
First of all framework has no fixed architecture or layout. Every programmer thinks in different ways and programmer can develop framework by keeping characteristics of a good framework in mind. Two programmers can develop same type of frameworks using different lines of code serving same purpose.
Any Framework can be categorized in to different types depends on the ways it is created and serve the different purposes. In Selenium, framework is also categorized in different types which we will see in this post.
Before learning about types of selenium frameworks, I would like to explain how framework is categorized.
There are three base components of any framework which are below:
- Functionality : What you want to perform?
- Code : How you want to perform?
- Data : What you want to use to perform?
How you organised above base components, is actually framework types. Let’s learn types of selenium framework now:
- Linear Framework
- Modular Framework or Module Driven Framework
- Methods Driven Framework or Library Architecture Framework
- Data driven Framework
- Keyword Driven Framework
- Hybrid Driven Framework
Many people say “Behavioral Driven Development (BDD) is also a selenium framework but as per my knowledge it is not a selenium framework. Yes, BDD is a test design pattern as Page Object Model (POM) and BDD scripts need extra setup and configurations. You can develop a hybrid framework which will support BDD scripting.
We will see each types of framework in details with advantages and disadvantages in upcoming posts.
If you have any doubt, feel free to comment below.
If you like my posts, please like, comment, share and subscribe.
Author: Amod Mahajan
My name is Amod Mahajan and I am an IT employee with 6+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went through so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning