Forum Discussion

presideji's avatar
presideji
Occasional Contributor
13 years ago

Stopping test execution

Does anybody know why it takes a long time for test complete to stop running after I have pressed the stop button. It seems to take forever. Any suggestion?

3 Replies

  • AlexKaras's avatar
    AlexKaras
    Icon for Champion Level 2 rankChampion Level 2
    Hi,



    Generally speaking, it is not easy to say something without seen exact situation.



    When TestComplete starts test execution, it injects some code into tested application's process space and must remove this code when stopping the test. Sometimes, depending on the tested application's state, code removal may take significant time. This may be because of some problem in the tested application and sometimes termination of the tested application helps.

    Also TestComplete processes test logs on test stop and this also can take some time if the test produces a very big log.
  • vajindarladdad's avatar
    vajindarladdad
    Frequent Contributor
    Hi ,

    I have noticed that , when you have multiple items in watchlist , and you have bulky log files in the project log folder , the execution speed becomes very slow.



    Please try to delete the unnecessary logs and items from the watchlist.



    I hope this has been of some help.