Hi Everyone,
i have an win32 native Application (or to be precise a wxWidgets Based) Application.
Because standard editable combox is not case sensitive, we decided to use an owner-drawn-combobox.
Unfortunately this is not recogniced very well by Spy and the recording tool of Ranorex Studio.
So i provided an MSAA Implementation for this element (COMBOBOX_ROLE,LIST_ROLE,LISTITEM_ROLE etc).
My Problem is the the popup-window will always be recognized by the controlid instead of the accesiblename.
This will lead to problems, because the controlid changes dynamically.
Is there a way to configurue Ranorex to use the accessiblename as path instead of controlid for a popupwindow ?
Thanks in Advance
Sven
Owner Drawn Combobox MSAA
Re: Owner Drawn Combobox MSAA
Hi Sven,
Sure, there is way to instruct Ranorex to prioritise different attribute, using xpath weight editor. Take a look at this blog post...
https://www.ranorex.com/blog/automated- ... namic-ids/
Hope this helps?
Sure, there is way to instruct Ranorex to prioritise different attribute, using xpath weight editor. Take a look at this blog post...
https://www.ranorex.com/blog/automated- ... namic-ids/
Hope this helps?

Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Owner Drawn Combobox MSAA
Thanks for the answer.
I already saw the weight settings, but have overseen to set the weight for native windows
It seems my problem is been solved now.
I already saw the weight settings, but have overseen to set the weight for native windows
It seems my problem is been solved now.