BUG: Module Group changes not propagated until recompile

Bug reports.
krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

BUG: Module Group changes not propagated until recompile

Post by krstcs » Wed Aug 20, 2014 9:35 pm

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.
Shortcuts usually aren't...

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: BUG: Module Group changes not propagated until recompile

Post by Support Team » Thu Aug 21, 2014 10:24 am

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
.
Image

krstcs
Ranorex Guru
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: BUG: Module Group changes not propagated until recompile

Post by krstcs » Thu Aug 21, 2014 2:46 pm

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!
Shortcuts usually aren't...