I have quite a large testing set of tests running overnight during our software cycle, these tests are set up to run one after the other with various exit codes as fail safes.
Many of the newer tests are written to minimize this by checking for objects first, but it would be great to not have to go back through and rewrite many of the older tests
Solved! Go to Solution.
A few things you can do.
One is implement try / catch / finally blocks in your JS code to catch these and log stack trace.
Are your tests setup as test items? If so there are setting you can apply to your test items page and project properties to not stop the entire project on a exception.
Click the Accept as Solution button if my answer has helped