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
what is error and fault in terms of software quality?
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
What are the check points can be inserted without recording?
In qtp, explain what is qrs file?
write a script to verify the image path(src property) of the images which are in web pages.
How to test login module with different username and password by using data driven testing in QTP?
What is Port testing. Whhen will you perform?
Give the syntax to load function at run time.
Explain hybrid framework with advantages and disadvantages?
What contains Data Driven Framework document in qtp?
Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
What is QTP testing process?
what is supply chain management?
Explain about datafile/verification of date file when file is not available in local system?