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

If there are some browsers opened and I don't how many browsers are open, Now I want to close all the browsers that I don't know how many are opened.
What would be Descriptive programming for this in QTP using VB Script..???
Please send your answers.

Answer Posted / mogal

While Browser("creationtime:=0").Exist(0)

Browser("creationtime:=0").Close

Wend

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

give me the code to save all messages of inbox of gmail into a folder and notepad

2078


what is the difference btn risks & Therads in the Test plan documentation?

2096


How do you configure QTP AND Test director?

1916


Can we run test with out adding object in object repository? How it is possible?

1041


Can we create user defined functions in qtp?

971


What is the differences between image check point and bit map check point?

1031


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

2385


How many scripts did you have?

2151


How to do call a output parameter from one action to another action??/

2336


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

2004


When Recovery scenario actually starts while testing the application?

1998


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1944


What are the different properties of an web object

1874


Can we write winrunner language i.e TSL in QTP tool?

1953


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

2179