How to sort variables?

Ask general questions here.
mrt
Posts: 20
Joined: Mon Mar 16, 2020 11:31 am

How to sort variables?

Post by mrt » Mon Jun 29, 2020 8:27 am

Hey folks,

I wonder how it is possible to sort variables alphabetically in Ranorex Studio?

When you have plenty of variables, the dropdowns for the user actions really get overcrowded and it can be a pain to find the right variable, if you do not know the exact name of all your variables by heart to type it in directly.

When viewing the code (not the UserCode) of a recording, I see the variable declaration in a messed up order.
This is the same order as when opening the "Variables..." button on a recording, but this mess is different from the mess in the dropdown. :D
I am not able to edit the cs-file anyway to see if it would have any effect on user actions.

Any hint will be appreciated, thank you in advance!

BR
mrt

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6036
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: How to sort variables?

Post by odklizec » Mon Jun 29, 2020 8:44 am

Hi,

I'm afraid, there is currently no way to sort variables in Ranorex. All you can probably do is to cast your vote in this user voice:
https://uservoice.ranorex.com/forums/15 ... s-of-recor
Pavel Kudrys
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

mrt
Posts: 20
Joined: Mon Mar 16, 2020 11:31 am

Re: How to sort variables?

Post by mrt » Mon Jun 29, 2020 9:11 am

Ok thanks, I casted my vote - but 3 votes, all 1 year apart from each other does not give me any hope.

Auto-sorting variables should be standard functionality.

thank you