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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I use Call dlls in QTP ?

2253


How can we conduct U-I Testing by using QTP??????

1824


Object repositories types, which and when to use?

1022


Can anybody post some real time scenario in qtp? please its very urgent.

2230


If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?

1042


What is difference between shared and local object repository?

1068


How does QTP identify an object?

982


What is quick test pro? What is a quick test professional?

1016


What are the views available in quicktest professional?

977


How can I import environment from a file on disk?

1018


Explain features of the latest version of qtp/ uft 12.1?

1006


how to create flat file datasubmission in qtp

2400


Explain how you can find the absolute value of the number in qtp?

1026


Hi Samrat, Thank u very much, what u said it is right.

1837


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1727