Unable to access popup menu from MFC Ribbon Dropdown button
I have tried everything I can think of to access the dropdown menu for this ribbon button, and I keep coming up short. Hoping someone here can assist me with this.
Our application has a "program options" button that opens a rather long context menu. 6 of the items in that context menu have sub-menus that open. I need to be able to select an item from one of those sub-menus during a test.
I tried:
The first line correctly selects the ribbon panel containing the button we need, the second one clicks that button and the popup menu appears on the screen. The playback then sits for a few seconds with a message about waiting for the menu, and then fails with an error message "Popup menu was not found" the target for this "PopupMenu" line is set to the button that I clicked to open the popup menu, which according to everything I can find in SmartBear documentation should be correct. I have tried setting it to the button, the panel the button is in, the ribbon bar, and the application, and I get the same result -- the menu cannot be found.
Anyone have any idea what I should try next?