Key Elements of Keyword Driven Framework
Keyword Driven Framework consists of the following basic components:
1. Control File
2. Test Case File
3. Startup Script
4. Driver Script
5. Utility Scripts
1. Control File
a) Control File consists of details of all the Test scenarios to be automated.
b) User can select a specific scenario for execution based on turning on or off a flag in the Control File
c) Control File is in the form of an excel worksheet and contains columns for Scenario ID, Execute (Y/N), Object Repository Path, Test Case File Path etc.
2. Test Case File
a) A Test Case File contains detailed steps to be carried out for the execution of a test case.
b) A Test Case File is in
the form of an excel sheet and contains columns for Keyword, Object Name & Parameter
3. Startup Script
a) The Startup script is used to initialize and read the control files
b) The Startup script calls the driver script to execute all the scenarios marked for execution in the control file
4. Driver Script
a) Driver Script reads the Test Case files. Checks the keywords and calls the appropriate utility script functions based on specific keyword.
b) Driver Script takes care of the Error Handling.
Many More Articles on HP QuickTest Professional

An expert on R&D, Online Training and Publishing. He is M.Tech. (Honours) and is a part of the STG team since inception.