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
What is the quicktest professional (qtp) testing process?
what is stepin & stepout?
How to save your test using quicktest professional (qtp)?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
is it possible to add sheets to excel at runtime
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?
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.
Is virtual object supported in low level recording mode?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
How to find a window is minimized or not
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Is it possible to merge two object repository files in qtp?
Explain how Does Run time data (Parameterization) is handled in QTP?
How will you report the bug and explain the defect tracking sheet you handled?