QTP -object reposistory spy tool is not able to spy the pop
up message appearing in the application, so how is that i
can handle such run time pop ups in QTP by code???

Answers were Sorted based on User's Feedback



QTP -object reposistory spy tool is not able to spy the pop up message appearing in the applicatio..

Answer / pratap bandagi

use Sendkeys method to Click on the button highlited.
for Example if there are two buttons on the popup use Sendkeys method to click on the default button like {"ENTER"} or {"TAB"} or {"ALT+F4"} so that u can close the popup or perform any operation on the popup.

Is This Answer Correct ?    6 Yes 2 No

QTP -object reposistory spy tool is not able to spy the pop up message appearing in the applicatio..

Answer / amruta

using shell object

a=10
b=20
set objshell=createobject("wscript")
If b=10+a Then
objshell.popup"b is equal to a"

else

objshell.popup"b is not equal to a"

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More QTP Interview Questions

Explain QTP testing process?

1 Answers   Crea,


Why a framework is needed?? Plaese post your answers ASAP

3 Answers   ACC, FD, Mphasis,


what is keyword driven framework in qtp.

13 Answers   Cognizant, TCS,


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 to supress warnings from the "Test results page"?

6 Answers   BirlaSoft,






Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2

2 Answers   Siemens,


Explain the features and benefits of quick test pro(qtp)?

0 Answers  


What are the details steps to connect a remote mysql database in QTP

1 Answers   Verizon,


What is recovery scenario in qtp?

0 Answers  


What is ObjectParamater?

0 Answers   CTS,


Define Environment Variable in UFT and its uses?

0 Answers  


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

0 Answers  


Categories