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

Suppose there are 10 browsers opened on desktop. I want to
close all browsers except one browser in QTP. Can any one
give the code for this?

Answer Posted / shankar

set brow=description.create
brow("micclass").value="browser"
set brows=Desctop.childobjects(brow)
for i=0 to brows.counts-1
browser(brow).close

please reffer this and if it is wrong give me clarification.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an optional step in qtp ?

1139


What are the recording modes in qtp?

994


in a web page How to check and display a particular word from a paragraph?

2448


what testplan contents and what test strategy contents,what is the diff b/w them

2113


What are benefits of qtp?

1075


Will down time for server and content maintenance/upgrades be allowed? how much?

1033


What are the five challenges you faced in QTP?

3168


What is 'sleep' in sync point?

1056


How to use the object spy in quicktest professional 8.0 version?

946


How many types of run modes are there in qtp?

992


How are actions and functions different in QTP?

1029


Discuss the QTP Environment?

1014


Explain different recording modes?

987


diff between qtp versions from 8.5

1978


How to creating an output value using quicktest professional (qtp)?

981