How to fetch Ribbon Bar elements using TestLeft UI Spy

Viewed 14

I have an application which has a BCG Ribbon Toolbar. I am trying to locate a button on the toolbar using TestLeft UI Spy, but it is highlighting the whole toolbar instead of that button. The application is based on MFC. I am able to click on that button from my automation script using x-y co-ordinates, but I don't want to use this workaround. Below is the ribbon toolbar. Can anyone suggest on this, how can I get the button identifiers?

enter image description here

0 Answers
Related