Keyword Driven Framework is a type of Functional Automation Testing Framework which is also known as TableDriven testing or Action Word based testing. The basic working of the Keyword Driven Framework is to divide the Test Case in to four different parts.What is Keyword Driven Framework? A keyworddriven framework is a tabledriven testing or action word based testing. It is a software testing method suitable for both manual and automated testing. A keyworddriven testing is a scripting technique that uses data files to contain the keywords related sample driver script for keyword driven framework
Keyword Driven Framework is a type of QTP Framework where for a particular test case, you would first identify a set of Keywords and then associate an action (or function) which each of these keywords.
Keyword driven Create different keywords for a different set of operations and in the main script we can just refer to these keywords. Data driven To run the same set of operations on multiple sets of data that are kept in separate files, mostly excel sheets. sample driver script for keyword driven framework
Common Components used in Keyword Driven Framework mapped at Functional Level Following are the components that are commonly used with this framework 1) Test Scripts or Driver Script: As mentioned in the beginning of this article, in this type of framework all Jul 02, 2010 sample code for keyword driven framework for QTP Showing 124 of 24 messages. Re: sample code for keyword driven framework for QTP: Srinivas P: Have you checked line by line the document, driver script Following are the basic components of a Keyword Driven framework: 1. The Control File 2. Test Cases File 3. Startup Script 4. Driver Script 5. Utility Scripts The Control File: The control file the main component of the Key word driven testing and it consists of all the Test scenarios to be automatedrun. sample driver script for keyword driven framework Keyword Driven Framework is a framework where keywords drive the test. Here keyword refers to the userdefined functions. In this framework, keywords are created in order to perform a particular test step or a test case. Dec 12, 2010 Sample Driver Script for QTP Keyword Driven Framework The below mentioned framework script is prepared to add three sheets in the runtime data table and retrieve the data from an external excel file. Data Driven automation framework using QTP. Creating multiple Google user accounts is the task we will try to accomplish using this framework. In the example earlier, we hardcoded the first name, last name, user id details etc. into our code while trying to create an account. Here is the simple keyword driven framework example: Step 1: We will define a class called KeyWordExample, which will have all the resuable methods, driver invocation, taking the screen shot and reporting mechanism.