Forum Discussion

RonT's avatar
RonT
Occasional Contributor
3 years ago
Solved

Runner.Halt generates "Execution is already completed" error

Test Complete 15.20

Web testing

VBScript

 

All my tests worked perfectly in Test Complete 12.60.

 

Now, in 15.20 the Runner.Halt instructions generate an error "Execution is already complete".

 

It's as if the .Halt procedure is trying to do something after the script has ended.

 

The other 4 statements in the 'If" execute properly.

 

Any ideas.

 

If TCID_haltOK Then
    SignalHalt
    ScreenShot "WaitforENAFail"
    WriteEmail "WAITFORENA time out obj=" & obj & " name=" & name
    WriteSPREADSHEET "TCID-HALT-0000-0000", "", "FAILED"
    Runner.Halt "WAITFORENA time out obj=" & obj & " name=" & name
End If

  • RonT

    In another post, SmartBear says to go ahead and file a support ticket. That link I posted before will work for you.

  • Support ticket opened. Thanks

4 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    I would put a breakpoint at the top of that If and then step through it and watch what's happening. You might also take a look at the Execution Plan and see if that is set up to your liking.

     

    If we can't figure it out pretty quick, since it's a problem after updating, I'd probably go ahead and ask Support directly. Here's the link:

    https://support.smartbear.com/testcomplete/message

    • Marsha_R's avatar
      Marsha_R
      Champion Level 3

      RonT

      In another post, SmartBear says to go ahead and file a support ticket. That link I posted before will work for you.

  • RonT's avatar
    RonT
    Occasional Contributor

    Support ticket opened. Thanks

  • RonT's avatar
    RonT
    Occasional Contributor

    I've finally been able to upgrade to 15.44 and this issue has been resolved.

     

    Ron