06-25-2021 07:58 AM
Hi,
I am running a test on multiple slots. I would like to terminate the test if a step fails. The issue I am having is that, after termination, the report header and test report name displays "Terminated". I want to show them as "Failed".
Would really appreciate any suggestions.
Thank you.
06-29-2021 09:01 AM - edited 06-29-2021 09:02 AM
You're best option would be to use the Station Options to achieve what you want.
There is an option in Station Options -> Execution -> Run-Time Error. It is called "Immediately Goto Cleanup on Sequence Failure".
Each step in your sequence in Properties -> Run Options has a checkbox called "Step Failure Causes Sequence Failure".
If both of these are checked, and one of the steps you mention Fails, then the test will act like it Terminated (skip the rest of the steps and go to cleanup) but it will be "Failed" instead of "Terminated" giving you what you want.
You would want to replace whatever you are doing that causes it to Terminate with this instead (I'm assuming a Post Action On Fail?)