Variable retaining value even after script ends
In TestPartner 6.2, when we run a script, it includes a shared module.
We call a function named Init on the module. This function sets the value of a variable if it has not been set previously. When the script termintaes and is re-run, we observe that the value that was set in the previous run has been retained in the variable and hence does not get set this time.
We are wondering how this can be possible. We had imagined the entire memory used by a script would get cleaned up once the script ends.
Is this a bug?
How do we get around this issue?
Re: Variable retaining value even after script ends
What is different about this post as compared to the previous post ?