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

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

What are the different types of recording modes?

1069


Explain the differences between table and db checkpoints?

1045


How does you pass optional arguments in qtp?

1081


What are the types of object repository?

1135


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2470


Differences between quicktest professional (qtp) and winrunner?

1227


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

2111


Approach for Installation,comaptibility,system testing

2243


How does you test a weblink which is changing dynamically?

1056


What is the extension of qtp local repository?

1059


How you debug your script?

1111


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

2169


Can any body please tell me the steps of keyword driven framework of QTP.

2015


What are the different kinds of test steps?

1161


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

1033