Hi Venkat,
You can use the multiple browser closing funda in this case , ie - closing
multiple tabs except the current one . Try to use creation time to close
the tabs. The code will look like :

Browser("CreationTime:=0").Exist - it checks whether the first opened
browser exists or not
If the browser exists, we close it - Browser("CreationTime:=0").Close - and
repeat checking

Thanks
Prasenjit

On Tue, Aug 13, 2013 at 9:04 AM, Venkat Reddy Bandaru <[email protected]
> wrote:

> Hi Experts,
> I need some help on closing all tabs except current one in IE8/9
> Could you anyone please write me a piece of code for me?
>
> Thanks
>
> Thanks,
> 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.
>

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


Reply via email to