i want to handle all the unwanted pop up through QTP i done
that with recovery scenario but it need some title of pop
up but i want that it should handle all the pop up even i
don't give the title of that pop up in recovery scenario is
there any general way to handle all the pop up please
help

Answers were Sorted based on User's Feedback



i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it nee..

Answer / kalyan

If U found any popups or error messages u need to recover
from that situation in runtime. For this we can use DP with
IF condition and Exist and Click methods.

EX:-

If OH.Exist Then

OH.Click

Else

Endif

OH means Object Heirarchy. EX:-Browser().Page().Frame().----.

Here I have given the answer with full explanation,this is
useful for Beginners.

Any doubts mail to

mskalyan.smile@gmail.com

Is This Answer Correct ?    3 Yes 0 No

i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it nee..

Answer / jay prakash

Yon can use descriptive programing (DP) for such scenario.
QTP supports the concept of DP for such cases only where u
need to go beyond Object Repositry.

Please let me know if it satisfies your query.

Is This Answer Correct ?    2 Yes 4 No

i want to handle all the unwanted pop up through QTP i done that with recovery scenario but it nee..

Answer / imran sheikh

There is one method to handle the second browser initiating
dynamically, it can be pop-up dialog also.
every new browser has it's creation time. So, below command
will close any Second browser (first one will be one u are
working).
Browser("CreationTime := 1").Close
Count starts with 0 and so on...

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

can test automation improve test effectiveness?

0 Answers  


in login module login button chage regularly(means login button change to submit button).What is the code for it.

3 Answers  


In Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why?

2 Answers   Kanbay,


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

0 Answers  


How to manage a drag drop event in the qtp

3 Answers  






How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

0 Answers  


can we run the scripts of qtp 8.2 in the qtp7.0?

1 Answers  


What is test object?

0 Answers  


how to get the object property

4 Answers   Covansys,


the build is develeped in Java. is possible to write scripting in vb using QTP ?

3 Answers  


What is Object Spy in QTP?

11 Answers   vsworx,


how do you remove object repository at runtime and load object repository and verify it

2 Answers   Thomson Reuters,


Categories