Gaurav,
We have another method called childobjects, we can close all open browsers
using childobjects through DP.
See the below example:
Set oDp=Description.create()
oDp("browser").value="IE"
Set brwChildobjects=desktop.childobjects(oDP)
brwcnt=brwChildobjects.count
for i=1 to brwcnt
brwChildobjects(i).Close
Next
Hope, you have understood my answer, if you have any questions please reach
me out
Thanks
venkat reddy bandaru
Thanks & Regards,
Venkat Reddy Bandaru
[email protected]
+91.9884524606
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.