hi,

try this

Window("regexpwndclass:=Notepad","Location:="&a).close

i think it works for u.
regards,
sravya


On Tue, Jul 7, 2009 at 7:28 AM, tjzguo <[email protected]> wrote:

>
> win_id and hwnd can be obtained from window objects.
> One scenario is if 5 windows are already opened. Then what is the
> meaning of the 3rd. It means from the order of opening the windows? Or
> it means from the order of the windows shown up currently?
>
>
>
>
>
> On Jul 2, 7:14 am, Amarjeet <[email protected]> wrote:
> > I have a query regarding QTP.I have opened 5 windows having identical
> > properties including window title and window name.How do I invoke the
> > 3rd window using a QTP script?
> > Any help regarding this would be greatly appreciated.
>
> >
>

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

Reply via email to