You are on page 1of 3

Test Approach Keyword Driven Framework

The Automation Keyword Test Suite has been structured in the following manner:

The Root Directory is “D:\Automation Keyword Driven Test Suite”

Folder Structure :
• Documents
• Libraries
• TestData
• TestScripts
• RecoveryManager
• ObjectRepository
• TestResults
• TestFlow

We have designed the Basic folder Structure and Keywords.

Libraries :
• All VBS files are maintained in this libraries which includes the
Common and Application specific functions also the initiator has
been defined under this folder.

TestData :
• Test Data comprising both the input and output has to be maintained
under this folder.
• Based on the keywords in the TestFlow file, the input data file has
the corresponding sheet along with their data.
• The Output value generated has to be maintained in the Output data
file.

TestScripts :
• The driver and action specific test scripts are maintained in this
folder.

RecoveryManager :

• Exception handling functions which handles the unexpected system


behavior are defined and maintained in this folder.

ObjectRepository :

• This is the repository where the objects and its description of the
AUT are maintained in this folder
• It acts like an interface between the tool and AUT.

1
Test Approach Keyword Driven Framework

TestResults :

• Test Results will be having Detailed Report and Master Report.

TestFlow :

• Test Flow Describes Business functionality and It shows the


Scenarios and in each scenario there will be test cases with
corresponding ids.Based upon the control, execution of a Keyword
Component takes place.

Execution Flow:

The Initiator will be under Libraries Folder, when we execute that it will launch QTP and
Open the “QtpDriver” Script which will be under Test Scripts folder. This Driver script
controls the TestFlow Sheet which will be under TestFlow folder; there we will be having
the Scenarios and Test Cases. Under a Scenario we will have test cases.There will be a
Control for Scenario as well as for the Test Case.

2
Test Approach Keyword Driven Framework

If the Control is “1 “ for a Scenario it will go and check the control of the test cases
under it, else it will check for another scenario. If a Test Case control is “1” it identifies
the Keyword and TestCase Id and executes it by picking the corresponding data from the
corresponding sheet from the path “D:\Automation Keyword Driven Test
Suite\TestData\Input Data\TestData.xls”.

The Process repeats for all the Scenarios and Reports are generated in the Test Results
Folder.

Following are some of the Keywords:

Keywords
BrowserOpen
GawabLogin
ComposeMail
ReadMail
CreateFolder
SearchFolder
EditFolder
CreateEvent
SearchEvent
GawabSignout
BrowserClose

You might also like