Lagencie
6 years agoFrequent Contributor
Script only gets called once
Hello,
I have a problem with one of my scripts
import time import traceback dosomething connected = obj.Connect(login) def factory_reset(mode): dosomething def nextfunction(): dosomething
This is my script and when running a single test it works always - but the login data changes between 2 tests and when I run those 2 tests, which both call the function factory_reset, after another, it takes the same login data for both tests.
I included a Log.Warning("warning") before the obj.connect and it does not even write out this Warning in the second test, so it seems like it cached the run of the script in the first test somehow.
Is it possible to "close" this script file / kick it out of the cache so it initializes again