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

Problem with XML checkpoint in QTP ?

0 Answers  


we have 10 actions in out test how can we convert 9th action is main action ? how ?

5 Answers  


How to merge the two object repositories

3 Answers   Wipro,


How many scripts did you have?

0 Answers  


What is Modular framework and Keyword drive framework? Explain

4 Answers  


How does quicktest professional identifies the object in the application?

0 Answers  


What is action?

0 Answers  


Hi anyone having QTP 10.0 licence or crack version pls send me in this mail id mdilipkumar04@gmail.com Regards Dilip

1 Answers  


how to retrieve data from the data table (from a particular cell)

7 Answers   Cap Gemini,


How to create runtime property for an object?

7 Answers  


i m tryed to use qtp in a user registration form but at the "image enter"part it gives a error when i run the qtp bcz the image is changed every time so it gives a error when i use regukar expreesion fot this it still gives a error value bcoz it reads the image code bt nt reconige the image which i enter in the image verification text box.so hw can i automate qtp for this function.plz give me a answer

1 Answers  


setroproperty and getroproperty difference

5 Answers   Ordain Solutions,


Categories