hai friends
i'm learning qtp now where we r using only record &playback
frame work.and people r saying in realtime they won't use
this frame work. if so what frame work actually using in
realtime .and could you give explanation comaparing the
record &play back fm and what ever FWyou r using in your
organization.
hoping cool response.
thanx in advance

Answers were Sorted based on User's Feedback



hai friends i'm learning qtp now where we r using only record &playback frame work.and p..

Answer / madhusudan

Using Descriptive Programming you can write the code for
(Using VBScript) requirement.
There are 4 types of Frame works supported by the QTP
1.Linear Programming
2.Modular Programming Frame work
3.Key word driven FW
4.Hybrid FW

Hybrid is the combination of 1 or more framworks listed the
above.

Differences between Record&Playback and Descriptive
programming are
1.Record&Playback required application build where as its
not mandatory in Descriptive programming.
2.Without ObjectRepository also we can execute the
Programme in Descriptive programming.
3.Fast execution in Descriptive programming.

Is This Answer Correct ?    0 Yes 0 No

hai friends i'm learning qtp now where we r using only record &playback frame work.and p..

Answer / sharad garg

A framework is a mechanism to run the test cases and store
the test results such that they can be further used for
manipulation. There are various types of framework:

Record and Replay - U cant enhance the tests and can record
only static objects in application,It fails where dynamic
objects or application in which values are constantly
changing are encountered.

Keyword Driven- This is a table driven framework which
stores keywords as parameters to parameterise the qtp
scripts or business functions which are called by a business
function script (as a result of functional decomposition of
business functions). There are three scripts:

1.Input script
2.Main Script
3.And Output script

Data Driven: Input and output parameters to parametrise the
qtp scripts, Imput parameters like enviornment variables, or
global variables which are set during the launch of qtp are
used.output parameters return values through means of
business functions. At first input script launches qtp and
set the paths like reporting areas, folder structures and
test results folder and return the control to controller
script or main script.

Main script is a business function script which loads the
Test cases list in qtp, selects a corresponding row in
keyword table for an object and pass the parameter value
(from test data.xls) to the functions by calling functions.
These functioons take input variable from test data.xls and
returns the values in form of output variables which are
then manipulated, either stored in data table or send to
test results folder through output script.

These functions/ business scripts provide modularity to the
test cases as same function is reusable across application,
and multiple test cases can be tested by one function, Hence
there is no need to write multiple qtp scripts to test
multiple test scenarios. You can parameterise one BFS
(business function script) like this for different values
and fields in your application.

There are methods for fetching values from /to application
and also set them in datatable which can be accessed through
datatable methods in qtp.

For more details : email: sharadgenius@gmail.com

Is This Answer Correct ?    0 Yes 0 No

hai friends i'm learning qtp now where we r using only record &playback frame work.and p..

Answer / chandu

thats not completely correct.coz in some cases we use
record and playback.but any how if u record it u need to
enhance the script for multiple data testing.so here there
are
1. data driven FW
2. keyword driven FW
3. Hybrid FW

3=2+1
if u are using 1. we used to import an excel sheet(it
contains the input data for the application)so that we can
test for multiple data.

if its 2. then we need to create some some actions and make
it reusable and also create some functions and with these
we can use where ever u want.
so for example:if uu write a function like "login"
so this is the keyword:
so just call the keyword.
like call login in ur script.

if its 3. its a combination of both 1 and 2.
in most of the cases we use 3.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

wt is the use of multiple questions in QTP

0 Answers   DigiTech,


actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.

1 Answers  


How you debug your script?

0 Answers  


write progamming connecting QTP to database sql? this is question asked by interview? please give sql, pl/sql related answer?pls any answer this?

3 Answers   IBM,


What is the descriptive programming?

0 Answers  






hi, Can any body tell me whats the difference between the QTP and the Rational Robat ad the Silk Test and LOad Runner and are they used in any Company On the Major scale bcas I finnf Many comapny Using the Manual Testing Only Hence Askin the Question Hope I will get the Assitence .

1 Answers   First Europa,


What is the difference between wait and synchronization point?

3 Answers  


What is test object model in quicktest professional?

0 Answers  


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

0 Answers  


Shall we add Local Repository to shared object repository,if yes,how we add

4 Answers  


how we can do web browser using parametarisation in QTP ?

2 Answers   Efextra, Kanbay,


what r advance features u had done in QTP?

3 Answers   HCL,


Categories