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


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

What is the difference between Image Checkpoint and Bitmap Checkpoint?

8 Answers  


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

0 Answers   IBM,


Under what conditions would you recommend QTP for future projects?

1 Answers  


With help of object repository,we can able to write the descriptive program manually?

1 Answers  


1.what is test automation life cycle?

1 Answers   IBM,


What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?

14 Answers   IBM,


can anyone please tell me what are all the shortcut keys used for qtp9.2? Thanks in advance..i expect ur valuable reply that help us our team???

1 Answers  


how qtp identify two objects having same name, supose objects are in same page also with same name,specify spl feature.

5 Answers   IGT, Microsoft,


What are the option you can use to synchronize your test?

2 Answers  


Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?

4 Answers  


Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com

0 Answers  


How to connect the real time application application with the QTP?

2 Answers  


Categories