Forum Discussion

colsson's avatar
colsson
Occasional Contributor
6 years ago
Solved

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.

Is that possible?

 

Kind Regards

Christian Olsson

  • 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.

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    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.

    • colsson's avatar
      colsson
      Occasional Contributor

      "Outside of the TestComplete environment" that is what I mean by external script!

       

      Thank you!