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


Please Help Members By Posting Answers For Below Questions

How many ways is to parameterize the value?

611


What contains Data Driven Framework document in qtp?

1455


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1616


Is it possible to call from one action to another action in qtp?

552


how can i pass a "cript"as a parameter in to a function

1452






What are the different properties of an web object

1421


How do you do batch testing in wr & is it possible to do in qtp, if so explain?

613


what is the advantages and disadvantages of using functions instead of re usable actions

1418


Explain in brief about the quicktest professional automation object model?

506


Suppose I want fail that check point? How can you do that?

595


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1418


What test you perform mostly? Regression or retesting in your testing process?

569


i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?

1549


could any help me please, how to work on visual foxpro application using UFT

1671


What is post recovery scenario?

1639