Variables do not show correct increment when reusing modules
Variables do not show correct increment when reusing modules
When binding variables, the module instance number is not incrementing when assigning the variables to different parameters. If I reuse a module and bind the variables to the same parameter I get the correct instance number at the end of the variable name(variablename[1], variablename[2], variablename[3]). If I bind the variables to different parameters the count starts over (Bound parameter 1 = variablename[1], Bound parameter 2 = variablename[1], Bound parameter 3 = variablename[1]). You can see in the screenshot that as I bound each variable the increment restarted at [1]. I am using currently Ranorex 5.2.1. I recently upgraded from 5.0.2 where the instance incremented correctly.
You do not have the required permissions to view the files attached to this post.
Re: Variables do not show correct increment when reusing modules
I believe this is working as intended and is not a bug.
The number indicates the index of the variable in the list of available variables. When you bind a variable it is removed from the available list, so the list will be re-indexed, so it will start at 1 again.
If you would like them to change this, you will need to submit a feature request, which you should do through email to [email protected], since they only handle feature requests through email.
The number indicates the index of the variable in the list of available variables. When you bind a variable it is removed from the available list, so the list will be re-indexed, so it will start at 1 again.
If you would like them to change this, you will need to submit a feature request, which you should do through email to [email protected], since they only handle feature requests through email.
Shortcuts usually aren't...
Re: Variables do not show correct increment when reusing modules
We observed same behaviour. The index helped a lot in the past binding variables. Please restore the known and established behaviour in the next version.
Re: Variables do not show correct increment when reusing modules
I'm pretty sure it's a bug. In previous versions of Ranorex it would show which module instance even if some of the variables were already bound. I only noticed this behavior in the latest version of Ranorex.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Variables do not show correct increment when reusing modules
Hi,
Yes, you are right, the change in behavior was not intended.
We will fix this with one of our next releases.
Regards,
Markus
Yes, you are right, the change in behavior was not intended.
We will fix this with one of our next releases.
Regards,
Markus