UI Automation Provider in C#

Ask general questions here.
Nellie9
Posts: 1
Joined: Mon May 06, 2019 7:04 am

UI Automation Provider in C#

Post by Nellie9 » Thu May 09, 2019 5:17 am

We have some projects which use an open source ribbon component for Winforms. This component was formerly on CodePlex, but is also available on CodeProject.

Our test group - who use Ranorex - have found this component does not support UI-Automation.

Maybe the best solution is to use a different ribbon control, but I am at least considering extending this ribbon control to support UI-Automation.

So far I have found lots of articles on using UI-Automation as a client, but almost nothing about implementing it as a provider.

Can anybody give me advise about how to do this?

Or is this completely the wrong approach? Should the ribbon elements be visible to UI-Automation anyway? Is it - for example - just missing some attributes? Psiphon
Last edited by Nellie9 on Fri May 10, 2019 5:41 am, edited 2 times in total.

User avatar
N612
Posts: 135
Joined: Mon Jul 11, 2016 4:01 pm

Re: UI Automation Provider in C#

Post by N612 » Thu May 09, 2019 8:50 pm

Check out this blog post. Although this might be a little dated, the information is still relevant. Alternatively, you can try using the rawtext/GDI plugin to access the elements. A final option is to use image-based actions which works quite well once you learn how to properly configure it.