Friday 12 December 2014

Steps to Create Keyword Driven Framework in Selenium Webdriver Using Junit and ANT




KeyWord 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 Keyword 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 a Config file for storing URLs
9.       Create a utility file
b.      Screen shot utility
d.      Emailing Test Result
11. Create a Keyword Sheet with Scenarios and Execute it.
12.   Email Reports
b.      Zip HTML reports
c.       Email Zipped Reports
14.   Maintenance of Test

1 comment: