Micro Focus QTP (UFT) Forums
How to capture context menu for C++ application - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: How to capture context menu for C++ application (/Thread-How-to-capture-context-menu-for-C-application)



How to capture context menu for C++ application - rashmsrit - 05-06-2011

Hi,
I want to capture context menu for C++ application can anyone help me for this. When i am doing recording that time the context menu is visible in expert view. But when i try to add context menu in object repository manager, it is not reflecting in it.


Regards
Rashmi


RE: How to capture context menu for C++ application - Skepsis - 06-14-2011

If its your company that produced the control then get them to expose it properly.

If not then you will have to use, if available, keyboard shortcuts to navigate up and down. Unfortunatly this will be done blind.

e.g. You will have to assume that 'down', 'down', 'enter' will select the context menu you want. Or you may be lucky and be able to press the corosponding short key like in normal menus.