Test Framework-Keyword driven

Let's discuss keyword framework. Keyword framework are very easy to write, so lets discuss them before going to more complex frameworks

Framework Architecture : Architecture of keyword driven framework looks something like the one below

Framework Components

The most important components of a framework are:

Framework

1. Driver Script
2. FunctionLibrary
3. SeleniumFunctions

Abstract Layer

1. Object Repository
2. Keywords

External Data

1. Data Sheets
2. Global Variables

Object Repository

Below is how you can design your object Repository

   Creating the Test Script File:



   Specifying the paths


    

  Control Flow


Reporting