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 many ways we can parameterize data in QTP?

1 Answers   Crea,


What is object repository?

3 Answers  


I have the following Doubts Please clarify me with examples? 1.Could QTP cover entire application? or part of the application? 2.Shall we rewrite(modify) the Manual testcase to automate? 3.How can I execute my scripts through client mechine which is not having QTP installation 4.Few objects are not being identified by QTP afeter one month. what could be the reason for this (I am using trail version of 15 days)

2 Answers   Livetek,


how qtp identifies objects of application.

5 Answers   Intel,


In key word driven framework,we will rename the logical names of objects,why?

3 Answers   Liquid Hub,


how many script you will wright in a year ? i told it's depends on the proj..and 'n.no of ... but he forced me to tell some num. or avg .....how many i suppose to tell..??and do a favor per day how many script don't thing it's repeated question or common ...help me post a ans...thanks for advance

1 Answers   HCL,


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

0 Answers  


Reverse a string keeping the words in the string as it is. E.G. "Quick Test Professional" O/P "Professional Test Quick"

5 Answers   Cap Gemini,


can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance

2 Answers  


Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?

0 Answers  


if Object repository contain x and y properties. we do not know whether they are mandatory or assistive properties. While executing the script qtp will use both the properties or only sufficient properties to identify the object. It means it use OR (or) AND

8 Answers   ADP,


Hi Recently I Attend one interview .The intervier ask on Question in QC 9.2 . The Qus was while ruuning the Batch RUNS scripts in test lab if defect will comes .The defect automaticly wants to genate . How to Configure in QC . Thank You Balaji

0 Answers  


Categories