Change automatic naming of elements

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Noxxys
Posts: 7
Joined: Wed Oct 22, 2014 4:09 pm

Change automatic naming of elements

Post by Noxxys » Mon Jun 29, 2015 10:13 am

Hi,
Both in Ranorex Spy and in the repository when recording, elements are given names based on their "Native Window / Class" value.
I'm automating a desktop QT application, and I'm in a situation where everything is called "element 'Qt5QWindowIcon'". However, the value of "Dynamic / AccessibleName" is much more explicit.

How can I tell Ranorex Spy and Repository to name elements after the AccessibleName by default?
I've already used path weights, which give me better Xpaths, but I'd like to change the default elements names too.

Thanks

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Change automatic naming of elements

Post by krstcs » Mon Jun 29, 2015 1:58 pm

There is no way to change the default naming conventions for repository objects.

If you need to change the name, you will have to manually change it after the repository object is created.
Shortcuts usually aren't...