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 to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

527


Key word driven framework

1682


What are parameterizing tests?

547


What is clean sweep?

1374


Why is Client side image is preferred over server side image?

1437






What are the different types of recovery operation?

551


Whats the realtime QTP testing process

1991


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1310


banking project description for software tester

7020


How to call a test from another test?

678


i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script

1416


What is the keyword view and expert view in qtp?

525


How many add-ins comes by default with quicktest professional?

552


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

574


What is qtpro? What is quick test pro?

557