Hi Chandra,
window("text:=Flight Reservation").winmenu("menuobjtype:=2").Select
"File;New Order"
try these one it will work
menuobjtype:=2 not 1
Thanks,
Aparna
On Fri, Apr 18, 2014 at 3:49 PM, Chandra Shekar
<[email protected]>wrote:
> Hi the below code worked fine. Thanks for that!!!!
>
> However how to access the buttons which are right under the file menu of
> flight application. Your comments will be much appreciated.
>
> On Monday, April 2, 2012 10:18:37 PM UTC-7, khurana bhawna wrote:
>>
>> Hello All,
>>
>> I am trying to navigate File > New Order in the sample flight
>> application of QTP, using the following code
>>
>> window("text:=Flight Reservation").winmenu("menuobjtype:=1").Select
>> "File; New Order" '---its NOT working
>> window("text:=Flight Reservation").winmenu("menuobjtype:=2").Select
>> "File;Open Order..." '---its working
>>
>> Please let me know what is the mistake
>
> --
> --
> 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/d/optout.
>
--
Regards
Aparna
--
--
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/d/optout.