Page 1 of 1

BUG: Record Item Argument Editor does not bind variables

Posted: Tue Apr 01, 2014 8:24 pm
by krstcs
Ranorex 5.0.1
Windows 7

When using a user code action that has more than 4 variables being passed into the method, the first 3 variables can be mapped correctly in the action table, but no other variables can be mapped after the first 3. The Record Item Argument Editor does not update the bindings at all. If you attempt to set a data binding, the field stays blank and does not update with the selected data bind.

This worked in 4.1.2 or so, when I last used it, but I didn't mess with any of this in 4.1.3/4/5 or 5.0.0, so unsure where this regression started.

I can manually edit the rxrec file in question and get the bindings to save (shouldn't have to though... :D ).

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Wed Apr 02, 2014 7:29 pm
by monkey2012
Hi Support Team,

I have been using 4.1.2 and thinking of upgrading to 5.0.1 today, fortunately, I saw this post.
My project is huge and most of the methods have more than 3 variables. I don't think I have time to manually edit the rxrec as krstcs pointed out the workaround for the issue.
Please confirm if this is a bug.

Thanks

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Mon Apr 07, 2014 8:08 am
by Support Team
Hello,

I tried to reproduce the issue with Ranorex 5.0.1, but I weren’t able to do so.
Therefore, I may ask you to describe the exact steps which are necessary to reproduce the issue.
Thank you in advance.

Regards,
Robert

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Mon Apr 07, 2014 1:13 pm
by monkey2012
I just installed 5.0.1 and opened my solution, and ran a small set of tests; I don't see any problem at all.

Thanks

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Mon Apr 07, 2014 1:41 pm
by krstcs
This is still occurring for me.

Here are the steps:

1. Open any existing or create a new test recording module.
2. In that module, create a user code method that accepts more than 3 parameters.
3. Add the user code method to your test action table.
4. Create data module variables for the parameters.
5. In the action table, select the three parameters that are available on the row, and bind the module variables to them.
6. For all other parameters/variables, you have to use the Record Item Argument Editor, so click the ("...") button and the dialog will pop up.
7. Select one of the unbound parameters.
8. Select the desired module variable to bind in the right pane ("Bound Variable" field).

Expected: The variable will be displayed in the "Bound Variable" field.
Actual: The binding will not be accepted, no error will be given, and the field will remain blank.

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Mon Apr 07, 2014 3:59 pm
by monkey2012
Hi Krstcs and Support Team,

OK, I haven't added/created any new user code or steps; I just ran the existing tests.
Eventually I will have to create a new recording and user code today to test other functionalities. I will let you know if I see the same problem.

Thanks

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Wed Apr 09, 2014 1:44 pm
by monkey2012
I repeated krstcs's steps with a new user code method that takes 5 variables but do not have any issue.
(note: 32-bit windows 7)

Thanks

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Wed Apr 09, 2014 3:32 pm
by Support Team
Hello krstcs,

I wasn't able to reproduce your issue. Maybe there is something wrong with your Ranorex installation?

Regards,
Robert

Re: BUG: Record Item Argument Editor does not bind variables

Posted: Wed Apr 09, 2014 5:09 pm
by krstcs
OK, I re-installed, again. Now it works. So, must have been my install.

Thanks guys!