Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is difference between run time object and test object?

0 Answers  


How to get popup error message.

0 Answers   Tech Mahindra,


Explain getroproperty and gettoproperty & settoproperty?

1 Answers  


Define Environment Variable in UFT and its uses?

0 Answers  


When I used random numbers(1 to 9) with regular expression and run the test, it runs only 5 iterations with passed result instead of running all 1 to 9. Please tell me what can be the reason

0 Answers  


How many types of Parameters are available in QTP? and Pls Explain with example.

4 Answers   LG Soft,


WHAT IS THE SIZE OF OBJECT REPOSITORY USING IN YOUR COMPANY? Can any body tell me answer of this quation........

11 Answers   Ness Technologies,


wht is Automation testing frame work. pls explain it

3 Answers   Wipro,


what are the functions availabla in QTP? what are the data types in QTP?

2 Answers   Spry Technologies,


Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?

2 Answers  


What are the major/ important methods, functions in QTP we use realtime testing

0 Answers  


What is the difference between wait and synchronization point?

3 Answers  


Categories