| || |
Count the numbers of items in a WinMenu
i have the following script in QTP:
inside the contextmenu, there are two itmes, open and close for example.
the WinMenu("ContextMenu") does not have the ".GetItemsCount" method, wonderring in which way i can count the number of items in a WinMenu?
Thanks in advance
Re: Count the numbers of items in a WinMenu
hi it seems i found a solution, use QTP help search for "GetMenuItemCount", you will get an example to use WINdows API.
is any other solutions?