Find out all open browsers in QTP

Below Code will print the titles of all browsers that are open in the system.


Set BrowserObj = Description.Create
BrowserObj("micclass").Value = "Browser"
Set Obj = Desktop.ChildObjects(BrowserObj)

For i=0 to obj.count-1
print obj(i).getROProperty("Title")
Next