How to use UI Spy to find a RibbonItem

May 11, 2012 at 2:58 AM

Hello.

I'm testing a WinForm application, which uses Ribbon. And I need to use UI Spy to get the AutomationId or Name of the RibbonItems in a Ribbon.

But UI Spy can just find the whole Ribbon as a pane, and cannot find the RibbonItems in the Ribbon, such as RibbonTab, RibbonPanel, RibbonButton.

Do you know how can I get the AutomationId or Name of the RibbonItems in a Ribbon with UI Spy?

Developer
May 16, 2013 at 12:29 PM
Hi, a new version of Ribbon is released. Please visit the new site for latest fixes, releases, information and downloads.
New site: http://officeribbon.codeplex.com/