Ask a Question

Runner.Halt generates "Execution is already completed" error

SOLVED
RonT
Occasional Contributor

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

Test it until it breaks, then keep going!
4 REPLIES 4
Marsha_R
Community Hero

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
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

@RonT

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


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
RonT
Occasional Contributor

Support ticket opened. Thanks

Test it until it breaks, then keep going!
RonT
Occasional Contributor

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

 

Ron

Test it until it breaks, then keep going!
cancel
Showing results for 
Search instead for 
Did you mean: