What is the QTP test frame work?
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / patil
Google for "Test Automation Framework" by Carl J Nagle
Is This Answer Correct ? | 4 Yes | 3 No |
Explain the types of properties that quick test learns while recording?
Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
For which type of projects the iterative model is not suitable?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
HOw to add the recovery file at runtime to the test file .
what is the default ordinal identifier.what are the send keys in qTP.
Could we use QTP for java project(Which is develop in Netbeans and My SQL) otherwise which one is suitable?
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
How QA specialist can identify when programmatic descriptions are useful?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman
How to data driven test for Win objects in QTP ?