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


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More QTP Interview Questions

Where can i get the QTP tutorials. I wanna move to automation testing. Is there any book or URL, where i can find the source to read...

1 Answers  


How to add a runtime parameter to a data sheet?

6 Answers  


give me the code to save all messages of inbox of gmail into a folder and notepad

0 Answers   Infosys,


what is option explicit?

5 Answers  


How to find array size in qtp?

0 Answers  






How to call a function in QTP?

4 Answers  


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

0 Answers   Rogers,


After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!!

2 Answers   ABC,


Hi all, can anyone tell me the challenges u faced while using qtp?

2 Answers  


Explain types of output values?

0 Answers  


how to test background color and dynamic images during runtime

4 Answers   CTS,


How can we use XML in QTP?

1 Answers  


Categories