I have a situation in my WinRunner testing script:
(maybe sounds foolish, but I'm not too experienced in TSL) I have one static variable, that is loosing the value after the Stop command of the script. There is possible to invoke the Stop command from inside the script? If yes, how can this be done?
Thanks for the reply.
[img]images/icons/frown.gif[/img] Still doesn't working. How do I figure that out ?! When I'm pressing stop button, all functions "load" from other scripts, are venish.
Well, when I'm calling texit() function, these functions are still there, still loaded.
Maybe texit() should be called in other circumstances ? With some parameters ?
What exactly is your goal?
If you want to unload compiled modules or fuctions, use the unload function.
Deleting static variables from memory can only be accomplished through an array - use the delete command. Is it too simple? Use unload to unload, use delete to delete, use texit to stop execution.