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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the quicktest professional (qtp) testing process?

1059


what is stepin & stepout?

1902


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

1162


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

1017


is it possible to add sheets to excel at runtime

4093


This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?

1973


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1821


Is virtual object supported in low level recording mode?

1199


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1936


How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.

2315


How to find a window is minimized or not

1928


Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this

2597


Is it possible to merge two object repository files in qtp?

1234


Explain how Does Run time data (Parameterization) is handled in QTP?

1114


How will you report the bug and explain the defect tracking sheet you handled?

3152