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


several browsers opened. write QTP script to close all browsers except gmail.



several browsers opened. write QTP script to close all browsers except gmail...

Answer / puspita

Dim d
Set d=Description.Create
d("micclass").value="Browser"
Set a=Desktop.ChildObjects(d)
For i=0 to a.count-1
s=a(i).GetROProperty("title")
If instr(1,s,"Gmail")=0 Then
a(i).Close
End If
Next

Is This Answer Correct ?    22 Yes 1 No

Post New Answer

More QTP Interview Questions

How to attach a file to TD?

0 Answers  


Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?

1 Answers  


Does QTP work in UNIX environment

5 Answers   BirlaSoft, C1 India,


.how will you load the object during runtime

2 Answers   TCS,


what are the main differences between keyword driven frame work and data driven frame work?

1 Answers   UHG,


in qtp wha t is synchronisatin pt,what is the maximam time out

3 Answers  


The xls contain data. how to get number of columns form the sheet?

4 Answers   Virtusa,


1. IS A VIRTUAL OBJECT USED WHEN THE LABEL IS NOT RECOGNIZED BY QTP

7 Answers   Ordain Solutions,


I installed QTP 9.5 on vista. Can someone please provide me the license key of the same. Thanks, Avi

2 Answers   Xavient,


How to retrieve value (data) from notepad using QTP ?

5 Answers   Health Care,


hi Action 1 and action2 if we save it in C:, what folders will be created explain plz

3 Answers   iFlex,


Hi All, I am 4 yrs experieced in manual testing and new to automation tool QTP. Iam trying to learn it thru online and material i have.I am able to understand but unable to trace out which method or function to be used where necessary in VB Script. How come we know the functions or methods to be used to open a window when clicking on button or so...Pls suggest me.How can i proceed further to apt VB Script.

0 Answers  


Categories