How WinRunner updates the Compile module environment ?
I'm programining a test("scripting") and the Main Test loads some Compile Modules.
I'm running the Script and after If I do changes in the Compile Modules, the Main Test does not "see" the changes, it is WR does not update the Environment!, and the Main Test even is using the old Compile modules!, WHY?
How I can do that WR updates the Compile Environment after I modify it?
- Right now, I'm restarting WR after I modify any Compile Module to update the
- I'm using WR 7.5
Re: How WinRunner updates the Compile module environment ?
reload ( "C:\\WRScripts\\Func\\Math", 1, 1 );
The reload function removes a compiled module from memory, and then loads it again. In effect, reload combines the functions of unload and load.
This should fix your problem.
See on-line help for more info...
cranem451 - firstname.lastname@example.org