11-05-2021 12:34 PM
I have an issue with my test hanging after I dismiss the Fail message box. Initially I see the trace pointer at <End Group>, but if I break I then see that execution is actually in the process model running DoPostUUT. The fail message box status 'Running'. The Message box is not the default one from the model support dll. I have customized the process model to use a Message Popup step since I want to include information in the fail dialog, as well as having a second button to stop testing instead of needing another dialog box for the operator. I used the same Precondition from NI's default message box. I don't see why the step would hang after the dialog box closes. I have a Post-Expression but nothing that takes time:
Parameters.ContinueTesting = Step.Result.ButtonHit == 1 ? False : Parameters.ContinueTesting
11-09-2021 08:49 AM
I've gotten a lot closer to the cause. I spent some time deleting steps until I was left with the minimum sequence that shows the issue.
That's it. If I use the original dialogs in the process model, no issue. If I uncheck Modal in my client Popup, no issue. I'm not calling any external code, just a couple Popup steps. This seems like a Teststand bug. However, after I copied this from the production PC back to my dev PC, I can't reproduce it.