Page 1 of 1

Change automatic naming of elements

Posted: Mon Jun 29, 2015 10:13 am
by Noxxys
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

Re: Change automatic naming of elements

Posted: Mon Jun 29, 2015 1:58 pm
by krstcs
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.