Hi All
I'm new in QTP. I'm trying to make test cases for login on
Flight.exe .
I have parametrise the agentname and password field.
So wen wromg agent name or password is entered it show a
dialog box with proper message(Like: "Wrong Password"
or :Please enter Password" etc) and OK button.
I have created If else block. Now my problem is i want to
make checkpoint on error message Dialog box. But each time
i create a checkpoint it shows same text message.
So how i can check that message is there or not.
Answers were Sorted based on User's Feedback
Answer / sailaja
hi
i have written script like this . its working.i captured
the message.
systemutil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
Dialog("Login").WinEdit("Agent Name:").Set "sailaja"
Dialog("Login").WinEdit
("Password:").SetSecure "480d599e2cdad2bd049683c4bb494beaea4
dabce"
Dialog("Login").WinButton("OK").Click
Dialog("Login").Dialog("Flight Reservations").Click 107,
28, micRightBtn
Dialog("Login").Dialog("Flight Reservations").Static
("Incorrect password. Please try again").Check CheckPoint
("Incorrect password. Please try again")
Please let me know if you ace any prob.
THANK YOU
SAILAJA.
| Is This Answer Correct ? | 1 Yes | 0 No |
Hi can anyone pls suggest how to fetch username(system login name)and system name in to qtp.I am not using TD or QC.Thx
Hello friends can anybody tell me about the architecture of QTP with diagram of it.this architecture is same for any domain like ERP/Banking/CRM/Healthcare or it's different then please tell me.thanks
What are the Test design techniques you uses in ur project?
Types of properties that Quick Test learns while recording?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
what is output value in QTP and how it can be used in automation testing
When to use Descriptive programing?
What is a reusable action?
How to export QTP results to an .xls file?