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 automation framework? give explonation?

1 Answers   Mindlance,


what is the difference between development and testing

1 Answers  


when we open flight reservation.at that time where we found synchronization point() and wait function().i m confused .i want this answer.

1 Answers  


in flight reservation application. when i entered flyto combobox as london. and i have to check this london is present in flyfrom combobox.give me the code with good explanation. extention to this question. at each iteration i have to put(WRITE) the fly from and fly to city in database table

1 Answers  


Explain sub procedure of vbscript.

0 Answers  






Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?

3 Answers  


What is the limitation to XML Checkpoints?

4 Answers   CTS,


In web page there is five OK buttons available, while recording i click on 3rd OK button, How QTP identify the 3rd OK button while running script? Is qtp identify 3rd ok button?

14 Answers   Polaris,


How to save your test using quicktest professional (qtp)?

0 Answers  


what is the difference between testing and debugging?

2 Answers  


Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine

1 Answers  


Which is the best testing institute for QTP training in Hyderabad.

25 Answers   Wipro,


Categories