Ranorex Studio version used: 8.3.2
I don't think it is specific to my project/solution hence not attaching a Ranorex snapshot.
Steps to reproduce the issue:
1. Right click on a Test case in a project
2. Select 'Add'
3. Select 'Existing Module'
4. Select a Module Group which has at least one variable (without a default value) to bind
Expected result:
'Unbound variable' is shown under the 'Data binding / iterations' section for the newly added Module Group since we haven't assigned any value to the variable
Actual result:
No 'Unbound variable' text is displayed unless I choose the Build the Solution.
Notes:
I think this applies to the other case where a default value is assigned for the variable in any module under the Module group.
Adding module group to test case doesn't perform data binding unless project is built
Re: Adding module group to test case doesn't perform data binding unless project is built
hi rshankar,
within the module group, you have to bind the variables of your modules to Group variables.
All in all, your variable is bound to a module group variable and your module group variable can afterwards be bound to a test case parameter or data connector.
regards, qwertzu
within the module group, you have to bind the variables of your modules to Group variables.
All in all, your variable is bound to a module group variable and your module group variable can afterwards be bound to a test case parameter or data connector.
regards, qwertzu
You do not have the required permissions to view the files attached to this post.
Re: Adding module group to test case doesn't perform data binding unless project is built
Hi qwertzu,
Thanks for your response. Maybe my description of the bug wasn't clear enough. I understand how the variable binding works within modules and test cases.
As it can be seen below,
when I add the module group into the test case, it doesn't show the "unbound variable" text immediately as it does when a user code file is added. The "Unbound variable" text is shown only when the solution is built (as it can be seen from the gif attached).
My question is "Why doesn't Ranorex Studio show the unbound variable text for the module group immediately when added into a test case?". It is annoying sometimes because I get a warning that there is an unbound variable when building which didn't show up initially.
Notes:
1) I have shown at the end that the module group contains recordings which in turn has variables.
Thanks for your response. Maybe my description of the bug wasn't clear enough. I understand how the variable binding works within modules and test cases.
As it can be seen below,
when I add the module group into the test case, it doesn't show the "unbound variable" text immediately as it does when a user code file is added. The "Unbound variable" text is shown only when the solution is built (as it can be seen from the gif attached).
My question is "Why doesn't Ranorex Studio show the unbound variable text for the module group immediately when added into a test case?". It is annoying sometimes because I get a warning that there is an unbound variable when building which didn't show up initially.
Notes:
1) I have shown at the end that the module group contains recordings which in turn has variables.
You do not have the required permissions to view the files attached to this post.
Re: Adding module group to test case doesn't perform data binding unless project is built
Renaming module groups doesn't update my test suite either, so I've just got into the habit of automatically building after I make any module group changes.
Re: Adding module group to test case doesn't perform data binding unless project is built
hi rshankar,
If there are no module group variables, Ranorex won't show "Unbound Variables".
I think this behavior is correct. If you take a look into the module group itself, you will find the unbound variable of your recording.
If your module group has module group variables, they will be shown after adding the module group to your test suite.
regards, qwertzu
If there are no module group variables, Ranorex won't show "Unbound Variables".
I think this behavior is correct. If you take a look into the module group itself, you will find the unbound variable of your recording.
If your module group has module group variables, they will be shown after adding the module group to your test suite.
regards, qwertzu
You do not have the required permissions to view the files attached to this post.
Re: Adding module group to test case doesn't perform data binding unless project is built
Hi qwertzu,
Thanks again for your response.
In my previous post, in the attached gif, you can see that the module group that I added did have variables which eventually showed up when I built the solution.
I think Ranorex Studio has a bug where it doesn't show the 'Unbound variables' text straight away when added via "Right Click -> Add -> Existing Module" but shows the text straight away when added via the method you posted i.e. dragging module group from Ranorex module browser.
See attached gifs below showing the bug:
Method 1: Right Click -> Add -> Existing Module
Method 2: Dragging from Ranorex Module Browser
Note: For replicating the issue try the Method 2 first and Method 1. For some reason, Ranorex doesn't show 'Unbound variable' text even for Method 2 when I try the Method 1 first followed by Method 2 but building the solution and then trying out Method 2 works.
Thanks again for your response.
In my previous post, in the attached gif, you can see that the module group that I added did have variables which eventually showed up when I built the solution.
I think Ranorex Studio has a bug where it doesn't show the 'Unbound variables' text straight away when added via "Right Click -> Add -> Existing Module" but shows the text straight away when added via the method you posted i.e. dragging module group from Ranorex module browser.
See attached gifs below showing the bug:
Method 1: Right Click -> Add -> Existing Module
Method 2: Dragging from Ranorex Module Browser
Note: For replicating the issue try the Method 2 first and Method 1. For some reason, Ranorex doesn't show 'Unbound variable' text even for Method 2 when I try the Method 1 first followed by Method 2 but building the solution and then trying out Method 2 works.
You do not have the required permissions to view the files attached to this post.
Re: Adding module group to test case doesn't perform data binding unless project is built
hi,
ok I see what you mean. Only if adding via "Add -> "existing module", the "unbound variable" is not shown directly.
However, after building the solution (F8), it shows up immediately.
regards, qwezu
ok I see what you mean. Only if adding via "Add -> "existing module", the "unbound variable" is not shown directly.
However, after building the solution (F8), it shows up immediately.
regards, qwezu
Re: Adding module group to test case doesn't perform data binding unless project is built
So what happens next? Does someone from Ranorex read the post and do the needful?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Adding module group to test case doesn't perform data binding unless project is built
Hello rshankar,
Thank you for reporting the issue.
We added the issue to our internal bug tracking system. Currently, we do not know if and when a bug fix will be implemented. This depends on various factors. Nevertheless, all reported bugs and feature requests are documented in the release notes, with every new version release of Ranorex: http://www.ranorex.com/release-notes.html
Thank you for your cooperation.
Sincerely,
Ranorex Support Team
Thank you for reporting the issue.
We added the issue to our internal bug tracking system. Currently, we do not know if and when a bug fix will be implemented. This depends on various factors. Nevertheless, all reported bugs and feature requests are documented in the release notes, with every new version release of Ranorex: http://www.ranorex.com/release-notes.html
Thank you for your cooperation.
Sincerely,
Ranorex Support Team