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 many ways is to parameterize the value?
What contains Data Driven Framework document in qtp?
if mandatory and Assitive propertys are shows same how will u write skript in QTP window
Is it possible to call from one action to another action in qtp?
how can i pass a "cript"as a parameter in to a function
What are the different properties of an web object
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
what is the advantages and disadvantages of using functions instead of re usable actions
Explain in brief about the quicktest professional automation object model?
Suppose I want fail that check point? How can you do that?
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
What test you perform mostly? Regression or retesting in your testing process?
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?
could any help me please, how to work on visual foxpro application using UFT
What is post recovery scenario?