12-03-2014 07:12 AM
I'm using TestStand 2012 and I want to do the following:
1. Ignore a Runtime Error from a particular step.
2. If receiving an error from that step, jump to 'Cleanup'.
3. Change the status of that step to 'Failed' instead of 'Error'.
I was able to satisfy issue 1 above by selecting 'Ignore Run-Time Errors' from 'Run Options'.
I was able to satisfy issue 2 above by creating a 'Custom Condition' of Step.Result.Status=="Error" from 'Post Actions'.
I have not been able to satisfy issue 3 above. I tried 'Step.Result.PassFail=False' as a 'Post-Expression' from 'Expressions' but that didn't work. The step I'm working with started out as an Action step. Then I changed it to a Pass/Fail step in hopes that I could change 'Status Expression' from 'Expressions' but I couldn't. I would rather leave the step as an Action step if I could.
Solved! Go to Solution.
12-04-2014 08:39 AM
There is an another forum post regarding changing status of the step. Solution provided in the other post might help in solving your issue.
- Shashidhar
12-04-2014 01:25 PM
Thanks! This did help. I used Option 1.