Page 1 of 1

BUG: Module Group changes not propagated until recompile

Posted: Wed Aug 20, 2014 9:35 pm
by krstcs
Ranorex 5.1.1
Windows 7

Any updates to Module Groups are not being propagated until the code is re-compiled.

For example, changing the name of the Module Group will not update everywhere until the code is re-compiled.
Adding or changing Group Variables also does not update until a re-compile.


Module changes are reflected almost immediately, in contrast.

Re: BUG: Module Group changes not propagated until recompile

Posted: Thu Aug 21, 2014 10:24 am
by Support Team
krstcs wrote:Any updates to Module Groups are not being propagated until the code is re-compiled.
Recompile should not be needed, but saving the module group view (*.rxtmg file) is required to reflect the changes in the module browser.

Currently, this is by design, i.e. the changes are only reflected after saving the module group definition. You are right that the behavior is different than for modules with respect to the variables. The reason for that is how Ranorex gets the information, which is done using the code parser for modules and by parsing the XML structure of the *.rxtmg file for module groups.

Does saving the file solve your issue?

Regards,
Alex
Ranorex Team

Re: BUG: Module Group changes not propagated until recompile

Posted: Thu Aug 21, 2014 2:46 pm
by krstcs
Ah, yes, thanks Alex!

I don't use the save functionality very often, preferring to recompile after changes, which does both, so I missed that.


It would be nice if the IDE was a bit more pro-active in code updates though. But I realize that doing that would make it a bit slower.


Thanks again for the clarification!