Forum Discussion

colsson's avatar
colsson
Occasional Contributor
7 years ago

Send the stop test execution signal to TC from another script

When a test is running in TC/TE, there's a pause and stop button in the upper right corner of the screen. I would like to trigger the same stop signal as the stop button does from an external script...
  • tristaanogre's avatar
    7 years ago

    by "external script", I assume you mean from outside of the TestComplete environment?  Unfortunately, I don't believe you can.  The engine running is part of the TC/TE application itself so, other than halting the application, you can't say "Runner.Halt" from external code.