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
UI Automation Provider in C#
UI Automation Provider in C#
Last edited by Nellie9 on Fri May 10, 2019 5:41 am, edited 2 times in total.
Re: UI Automation Provider in C#
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.