Hi,
Ranorex warns me "The following module variables in module '...' are not bound to a data column: ...". I googled for the reason and found it related to data-driven testing, which isn't what I am doing here. In fact these variables are filled at run time with values that are calculated by user code. (I believe this is called "validation variable" in Ranorex speak.) All variables are defined in the "Edit variables" dialog and have proper default values.
What else do I have to do to do away with this warning?
Edit: Ranorex version 9.2.0.
Thanks
Hans
Warning message "Variables not bound"
Re: Warning message "Variables not bound"
Hi,
These warnings appear when you use module variables, but don't bind them to a data connector or parameter (data-driven testing).
If your test gets executed as expected, you don't have to worry about these warnings.
regards,
These warnings appear when you use module variables, but don't bind them to a data connector or parameter (data-driven testing).
If your test gets executed as expected, you don't have to worry about these warnings.
regards,
Re: Warning message "Variables not bound"
Out of habit, I always worry about warnings. The code I write has zero warnings before I submit it for production.you don't have to worry about these warnings.


Ok, then, how can I change the "module variable" into something else that doesn't produce a warning?
Re: Warning message "Variables not bound"
Hi Hans,
You can disable the warning for each test case in the properties of the test case:
Does this help?
Regards,
McTurtle
You can disable the warning for each test case in the properties of the test case:
Does this help?
Regards,
McTurtle
Re: Warning message "Variables not bound"
Yes, this might help, but I don't know how to open this "properties" dialog. I tried this: Right-click the test case in the "Projects" window, then click "Properties" from the menu. That opens test case properties that do not even remotely resemble your screen shot.
Thanks anyway
Hans
Or: open "Properties" from the View menu but that doesn't contain this option either.
I must be missing something crucial...Thanks anyway
Hans
Re: Warning message "Variables not bound"
Hi,
What you have right-clicked is “Project” node. But you must go to “Test Suite” view and here right-click every single Test Case Container and its Properties uncheck the option suggested by McTurtle. There is unfortunately no global option for this warning.
What you have right-clicked is “Project” node. But you must go to “Test Suite” view and here right-click every single Test Case Container and its Properties uncheck the option suggested by McTurtle. There is unfortunately no global option for this warning.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: Warning message "Variables not bound"
Hi odklizec,
thank you for your reply. This actually did the trick. No warnings anymore
Happy new year!
Hans
thank you for your reply. This actually did the trick. No warnings anymore

Happy new year!
Hans