I am asking for your help because I am looking to personalize my error handling and centralize it in one place so that it is easily upgradeable.
I am attaching a simplified example, but I am using the "SequenceFilePostStepRuntimeError" callback to catch and handle errors.
It works fine as long as I stay in the same sequence file.
When I make subsequence calls in other sequence files, the error handling no longer works.
I would either have to duplicate my callback in all my sequence files, but in case of modification, I must modify all the sequence files and this can become cumbersome, or I would modify the processmodel, but this is not desirable.
I thought about using a plugin to override TestStand's error handling, but it doesn't work.
Do you have an idea ?
Thank you in advance for your help.
I think the best way to go about this is putting the callback in the process model - that way you can access it from all client sequences and just override it from client sequence file to disable the functionality.
But I am curious if anyone has a better solution 🙂
I hope you are well and safe!
Take a look at the example:
Look at the sequence SequenceFilePostStepRuntimeError for various things you can do inside this callback.
Hope this helps,