How to avoid certain "Stop on Error" scenarios?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like it will work the same.
I hope this helps.
If not I would suggest opening a support case.

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »