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
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
write a script to verify the image path(src property) of the images which are in web pages.
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
Explain how you can find length of array in qtp?
how will you check how many members visited the website www.infosys.com?
Explain about business process component? types and usage?
Hybrid framework supports Descriptive programming. Is it true?
Does QTP run in any environment?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
How can I check if a environment variable exist or not?
How do Parameterization and Data-Driving relate to each other in QTP?
How you can make an action as re-usable action?
in my application,validation message has in japanise language.how to validate this message is appears properly or not