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

Answers were Sorted based on User's Feedback



We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is dif..

Answer / 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

We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is dif..

Answer / rahul

If the displayed dialog property is same then we can use below listed code

If Browser("").dialog("").exist then
Browser("").Dialog("").webbutton("").click
End If

Is This Answer Correct ?    1 Yes 1 No

We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is dif..

Answer / pramod mallick

use

SystemUtil.CloseProcessByName "IEXPLORE"
'It will close all Browsers with all dependant popup
windows.

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More QTP Interview Questions

How to import the Test Results in QTP to an Excel sheet

4 Answers   Sonata,


How to test the mandatory fields in QTP?

1 Answers   SoftSolve, TE,


Can anybody give the script to addsheet, add column,add values under that column in the rows?

2 Answers   McAfee,


Explain advantages and disadvantages of ddf?

0 Answers  


What is qtp window?

0 Answers  


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

0 Answers  


HOW TO DO THE BATCH TESTING USING QTP?

8 Answers   CTS,


Does the Existing reusable action can be modified at the time of calling the action?? Please help me..

2 Answers  


Why we load add-ins in qtp?

0 Answers  


how can we retrieve ten rows from the data table using loop concept?

3 Answers  


How to create runtime property for an object?

0 Answers  


how many test scripts we will write in qtp? very urgent. please??? Thanks in advance..

1 Answers   Mind Tree,


Categories