AnitaLeslie
2 years agoOccasional Contributor
How to close runtime error popup in testcomplete and continue execution
I am designing a script using python in testcomplete. During overnight executions of around 100TCs the execution stops due to runtime error popup in testcomplete. How to close this pop-up and continue the execution by failing the test case and moving to the next?
Code example:
try:
------
-----
except RuntimeError as e:
errorCode = e
Log.Error(str(e))
Log.Error("Runtime error has occured") #custom message to be logged
return str(e)
finally:
#Close browser before moving to the next test case
close the browser