public void HandleUnhandledExc (Exception ex) { TestExecutionContext context = this.testStack.Peek().Item1; context.CurrentResult.RecordException(ex); context.CurrentResult.ThreadCrashFail = true; }