Monday, 1 December 2014

Data Driven Framework in Selenium Web Driver using Junit

Data Driven Framework in Selenium Web Driver using Junit

Frameworks help to structure our code and make maintenance easy. Without frameworks we will place all our code and data in same place which is neither re-usable nor readable. Using Frameworks, produce beneficial outcomes like increase code re-usage , higher portability , reduced script maintenance cost etc.


Steps for creating Data Driven Framework in Selenium using Junit

3.       Identify the scenarios to be automated.
a.       Java Basics
b.      Java Oops Concept
5.       Start building a basic Project structure
7.       Create an Config file for storing URLs
9.       Create a utility file
b.      Screen shot utility
d.      Emailing Test Result
11.   Email Reports
b.      Zip HTML reports
c.       Email Zipped Reports
13.   Maintenance of Test


1 comment: