Ask a Question

How to avoid certain "Stop on Error" scenarios?

SOLVED
TCYKPB
Contributor

How to avoid certain "Stop on Error" scenarios?

Hello, I have my project configured to Stop on Errors when I run my test cases, but there are some errors which are not functional bugs (very frequently the TestedApps.App.Run() fails to open the desired application and it stops the test). Is there a way to bypass or make the "Stop on Error" property ignore these scenarios? Because if TestComplete fails to open one of my applications, I would like to retry opening it and continue the test, but so far I have tried putting that code inside a "try-catch" (javascript) block, and the test is still stopped, ignoring the "try" block.

12 REPLIES 12

My apologies...you are correct.....it does not work within a test, but rather the execution plan. (screenshot below)

 

Are you running your tests through the execution plan or just from the test level?

 

brumazz_1-1628703441976.png

brumazz_2-1628703497119.png

 

 

 

I run it through both @brumazz , but I work with scripted test cases, not keyword tests. The same option might work different in scripted and keyword tests.

It looks like it will work the same.

 

brumazz_0-1628707578031.png

I hope this helps.

If not I would suggest opening a support case.

 
cancel
Showing results for 
Search instead for 
Did you mean: