We have 10 page.In first page we 2 popup and next page we 3
popup window......(windows name is different)how can we
handle the all the popups without using recovery scenario

Answer Posted / niranjan chandramouli reddy

IF you are getting in different pages of same browser.
then you can use the following code:

Do While Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Exist

Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Close

Loop

You can use this as function and call this function in
every page

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)

1863


what you mean by artifact,milestone...

1590


What is contained in the object repository?

701


Does Low-level recording capture mouse movements?

672


how to find that tools work well with your existing system?

1493






Is qtp supports uni-code?

707


Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

1474


what type of automation is follwed in the project?

1582


Hi Samrat, Thank u very much, what u said it is right.

1473


What do you to script when objects are removed from application?

689


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1680


How you can replace string in qtp?

657


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

784


How qtp recognizes the object?

765


Tell me about qtp?

613