From the manual I see:
By default, the test log is automatically opened at the end of the test run session.
But this can be annoying when I really just want to debug my code.
Anyway to turn this off so I can stay in my script?
Try Tools->Options->Engines->Log->"Activate after test run" checkbox