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...


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



Hi All I'm new in QTP. I'm trying to make test cases for login on Flight.exe . I ha..

Answer / murali krishna

using Recovery scenario manager

Is This Answer Correct ?    3 Yes 0 No

Hi All I'm new in QTP. I'm trying to make test cases for login on Flight.exe . I ha..

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

Post New Answer

More QTP Interview Questions

What is different command used in command Prompt while using QTP?

0 Answers  


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

0 Answers  


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

0 Answers  


how to recall a function in QTP?

3 Answers   Ordain Solutions,


What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance.

11 Answers   Polaris,


Hi any body can tell me the in detaled information about Description.Create() thanks in advance

2 Answers  


Explain abt the File System Object in QTP with ex

3 Answers   Ordain Solutions,


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

0 Answers   Excel,


w is descriptive programming

2 Answers   TCS,


The xls contain data. how to get number of columns form the sheet?

4 Answers   Virtusa,


what is the frame work your using in automation ?

4 Answers  


While testing .net applications with QTP 9.1 in normal recording mode, QTP records my unintentional mouse clicks and window dragging which I don't want. But I can't stop QTP recording those mouse clicks and window dragging. Can somebody let me know how I can get rid of it, please ! Thanks.

1 Answers  


Categories