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
On Wednesday, February 13, 2013 10:16:47 PM UTC+5:30, Gaurav_Accenture
wrote:
>
> Hi,
>
> If I want to close child browser without using ordinal identifier(creation
> time and index no.) and hwnd property then how will I close it?
>
> --
> GAURAV SHARMA
> S/W ENGG.
> ACCENTURE
>
--
--
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.