what is keyword driven framework in qtp.
Answer Posted / sharad garg
A framework is used for maintanance of test cases, recorded
scripts & actions, test data and test results in a central
repository or in form of folder structure. Framework saves
recorded scripts or scripts in expert view (by enhancing the
tests using custom checkpoints, regular expression)etc. and
make them resusable and generic which can be used again and
results can be compared by passing different set of data.
There are following types of framework:
1. Modular Framework
2. Keyword framework
3. Data Driven framework
4. Hybrid Framework
Modular Framework:- it is functional decomposition of
application modules. (business components).
Keyword Framework:-
It is table driven Framework which stores the object
parameters property and their values. It is used when a
Business function script runs and loads the test case,
corresponsing row in table is read and corresponding
function is called using the keyword from the table. The
business function script passes the parameter value (input
parameter) through either test data.xls or data table at run
session and returns the results in form of output parameters
to the test results folder or data table.This is called data
driven approach where scripts are parameterised through a
set of input and output values.
Hybrid Framework:- It is the highest level of framework
which encapsulates all approaches. It has various components:
Input Script for launching the qtp
i)Set reporting framework
ii)Set working area
iii)Set folder structures by reading the value of xml files
and setting them as global variable.
and other activities like giving control to controller script.
Main script for loading the list of test cases by reading
example a database file with ordering of test cases,
executes the test cases in either datatable by accessing
datatable methods.
Output script for sending test results to test results folder.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
How to import a test case present in ".xls" file to TD under a Test set?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
What is the use of running the scripts in Hidden-mode in UFT?
What is RTM (require ment tracebulity marix) fromate?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
What ate the Technologies supported by QTP?
What is the extension of the recovery scenario file in qtp?
How to run a test using quicktest professional (qtp)?
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
How to find a window is minimized or not
Can we Test Welcome Screens and Process Images with QTP
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
what are the challenges you have faced while testing web based application using the automation tools ?
What is the syntax for how to call one script from another?
What Folder Structure following in Keyword Driven Frame work?