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

Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1883


How to save your test using quicktest professional?

1047


Explain runtime dynamic settings?

2440


HOw to add the recovery file at runtime to the test file .

2182


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2095


Can we call qtp test from another test using scripting. Suppose there are 4 tests and I want to call these tests in a main script. Is this possible in qtp?

1093


what is the diffrence bw qtp architectute and qtp framework?

2003


What is expert view and keyword view?

1120


What is a checkpoint? How many check points are there in qtp?

979


what are the mandatory properties for a tex boxc (scenario?)

2003


please any one can explain the keyword driven framework. with gmail example.

2097


can i change the runtime properties of an object ? How can i check if a parameter exists in database ?

1974


If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?

1018


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2401


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

2166