11-30-2011 03:03 PM
Hi all,
I would like to have a pop-up if a step fails that gives the operator the option to rerun the failed step (I've got this part) AND have the overall test indicate a pass (right now if a step fails then passes, I get 2 entries on the report and the first one causes an overall fail). Should I modify the SequenceFilePostStep engine callback to re-run the step without the fail counting, and if so, how? (I'm trying to figure out how to dynamically reference the caller step to rerun it or change its result...) Or how else can I accomplish this?
I do NOT want to use the looping step settings (which does allow me to have an overall pass within a maximum number of attempt) because I need to have a pop-up after the step fails to give the operator the option to re-try or continue with the failure.
I will try to post the sequence file here in hopes that it will help you see a simulated piece of what I've got now.
12-01-2011 12:24 AM
Hi
In this thread there is a example
that shows how it is done with the step type "SequnceCall"
Hope this helps
Juergen
12-01-2011 01:28 AM
Checkout the example in the TestStand Example Folder under \Callbacks\PostStepFailureCallback
12-01-2011 08:02 AM
I just wrote a quick example for a colleague yesterday. Here it is.
The trick is the Continue on Fail flag.
12-02-2011 10:54 AM
Sorry for the late response. I've been trying to incorporate these suggestions but have been fighting a new error that is unrelated. I'll let you know how it goes.
Thanks!