How to automate the windows dialog box which is coming in
the run mode?
Whenever I run my scripts,I am getting dialog box ( for ex:
Pls enter zipcode" eventhough I already entered the
value,the dialog box pops up).I need to click it.
Pls give some idea-How to automate the dialog box which is
pop up in the runtime.

Answers were Sorted based on User's Feedback



How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts..

Answer / naga raju.ch

hello friend, use the Recovery Scenario

If it is POP UP window
1)Select Trigger Event as POP-UP Event
2)Select Recovery Operation as Key board or mouse operation
3)Select Recovery Operation - Click Button or press enter key
4)Give the Scenario name
5)Save the Scenario (it is in .QRS)
Associate the scenario in your test, so that when ever you
get the pop-up window the recovery scenario do the click, no
need to click manually in run time


Thank You

Is This Answer Correct ?    3 Yes 0 No

How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts..

Answer / uday

Use QTP's recovery scenario

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

how do you configure QTP AND Test director?

1 Answers   Satyam, TCS, VB,


How we can we create a Text checkpoint in QTP 9.1,Actually what i did is first i put in recording mode and gofor Inser menu>Checkpoint>Textcheckpoint>click,Now an hand symbol came and i showed it to some textbox and cliked but the QTP9.1 is giving an error message like "The Obkect you are selecting doesn't support this operation" If i go for Help of QTP 9.1 information I didn't get any solution,pls help me in this issue.

6 Answers  


What is AUT in object reposity in QTP? Why we use it in Object repository???What is full form???????

6 Answers  


Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible

1 Answers   IBM, INCA,


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?

0 Answers  






how can we test load time of an page in webtesting?

3 Answers   Ordain Solutions,


wht type of User defined functions or Java Releated functions Do we write in VB scripting

0 Answers  


How many types of recording modes in qtp? Which will be used when?

0 Answers  


I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.

1 Answers   IBM,


Difference between action & Reusable action?

0 Answers  


How to manage a drag drop event in the qtp

3 Answers  


In QTP what is the difference between Step-in, Step-out, Step-over ?

3 Answers   CTS,


Categories