Could you post a ZIPPED copy of your project? Or create a small sample project that demonstrates the same issue? You could also send it directly to [email protected]
if you want to get direct help from the Ranorex team.
In my view, this is still an issue of where you are getting the value from. When you run the modules by themselves, the modules will have no context for getting the value external to themselves, but if you run the test case then they have a different, external, context. As I said, this is a difference, even if you are not sure what the difference is, so without the project or a sample, it would be hard to be able to tell you exactly what your issue is.
Also, when you post about an issue, please always include the following as it can have an impact on what advice or troubleshooting is given:
FULL Ranorex version (currently only 6.0.2 and 6.1.1 are supported)
Technology of system under test (Java, Flash/Flex, HTML, WPF, etc.)
The exact error message, if any
The RanoreXPath of the element in question, if applicable
A Ranorex Snapshot (not a screenshot) of the element in question, if applicable
A copy of a Ranorex Report showing the issue, if applicable
A copy of the project showing the issue, or a sample that demonstrates it
Without this info much of the advice we give is just guessing and it delays getting the problem solved because we don't know the full details.
Shortcuts usually aren't...