Forum Discussion

MattMauger's avatar
MattMauger
Occasional Contributor
6 years ago
Solved

JavaScript Runtime Error Exit Code in Test Execute

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.   Unfortuantly when...
  • cunderw's avatar
    6 years ago

    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.