What is the QTP test frame work?

Answers were Sorted based on User's Feedback



What is the QTP test frame work?..

Answer / kapil bande

QTP test framework is the set of processes and rules which
we will be using in our automation.Like folder structure,
reusable componants,OR,results,Parameters. We need to
manage these componants and used it.

There are verious kind of framework in Market Mercury
provieds BPT framwork, other customized framworks are
keyword approch, datadriven approch and Moduler approch.we
can mix all approches and build coustomized framwork.

Is This Answer Correct ?    7 Yes 2 No

What is the QTP test frame work?..

Answer / sharad

Suppose you are given a task where you have to automate some
test cases for an application. When you are finished
automating the application, what would be your expectations
from the scripts you have created? Wouldn't you want that -
1)The script should run as intended without any issues.
2)The code and the flows should be easy to understand.
3)The scripts should be easy to maintain in case of any
changes.

All the above points can be achieved by using a proper
Automation Framework.
There are following types of framework
1)Modular Framework
2)Data Driven Framework
3)Hybrid Framework

Modular Framework is the approach where all the test cases
are first analyzed to find out the reusable flows. Then
while scripting, all there reusable flows are created as
functions and stored in external files and called in the
test scripts.

In Data driven framework, the data is NOT hard-coded in the
test scripts. Instead, it is stored in some external files.
The test script first connects to the external data source
and then extracts the data from that source. Most of the
times, excel sheets are used to store the data.

Is This Answer Correct ?    2 Yes 0 No

What is the QTP test frame work?..

Answer / patil

Google for "Test Automation Framework" by Carl J Nagle

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More QTP Interview Questions

i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet

0 Answers   IBM,


How will you set a unique four digit number in an edit field in QTP?

2 Answers   IBM,


I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?

4 Answers  


In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?

0 Answers  


how you will do cookie testing using QTP?

2 Answers  






Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"

5 Answers   Cap Gemini,


Hi all, i have installed QTP8.2 in my system. but script is not generating while recording. What is the problem? is any file missing? pls let me know anybody...Thnaks

3 Answers  


how u will describe testing activities?

2 Answers  


what is vmodel?advantages and disadvantages of vmodel?

3 Answers   AZTEC, scintel,


I want to see all the properties of agent name in login window. I will use the script Set a=Window("FR").WinEdit("Agent Name:").Gettoproperties( ) msgbox but my question is how to use the msgbox if i use a it will display only a, so anyone pls let me know how to get the display of all the properties using GetToProperties () or GetRoProperties (). Thanks a lot

5 Answers  


1. In build1 there is a page with two check boxes and a submit button. You have prepared a script for that page and its working fine. In Build 2 the developers have added two checkboxes in the page. Will the script prepared for Build 1 work for Build 2 or not. If yes, why and if No, why. Remember the developers have not touched the object properties of the textboxes in the page.

3 Answers   ADP,


How can i Save the snapshots in a specified folders using Scripting in QTP?

1 Answers  


Categories