Forum Discussion
Jacqueline,
I created a sample C++ application. It has a context menu of the CMenu type and submenus. Again, everything works fine.
Perhaps, your application creates or uses the context menu in some specific way. Unfortunately, it's difficult to say anything without seeing your test script, test project and application. A menu can be owner-drawn (that is, the menu is drawn by the application code rather than by the operating system). In this case, you can address menu items by indexes:
' Addressing an item by index
Call window.PopupMenu.ClickItem("item_title|[1]")
See Working With Owner-Drawn and Bitmap Menus and Addressing Menu Items.
If this does not help, I suggest that you send a request to the SmartBear Support Team. They should be able to help. Please include the following:
- A description of the issue. You can also include a link to this forum thread.
- The test project that contains your recorded script.
- Your application under test (or a sample application that uses the same context menus).