01-25-2011 08:46 AM
So I am getting to use the newest versions of TestStand and I am playing with the Additional Results for a test step. What I am wondering is; can additional results affect the pass/fail status of a step? For example, if I have a numeric limit step that also returns a Boolean, can I use an Additional Result to fail the step based on the value of the Boolean? Or, are additional results just for reporting?
Solved! Go to Solution.
01-25-2011 09:08 AM
Hi,
I'm really just joining this thread to see what others say. But in general **I think** you'd have to add an expression or function that would combine the step status that resulted from the numeric limit evaluation and your boolean, and then put that back into the step status. Some choices would be post expression, making a custom step type with a poststep substep, or using a poststep engine callback. The TestStand Reference Manual has the order of execution of all these things in Chapter 3. But there may be a simpler way I'm unaware of.
cc
01-25-2011 09:10 AM
Additional Results only affect the content of the report. If you need a single step relying in regard to its result on two different parameters (e.g. numeric limit and boolean value), you have to create a custom step type.
hope this helps,
Norbert
01-25-2011 09:24 AM
@Norbert B wrote:
Additional Results only affect the content of the report...
That is what I was learning but I just wanted to make sure. The way I've done this before is to pass the value to a local and test the local as a <none> adapter type. For my case it doesn't have to fail the same step but just be evaluated.
Thanks-
01-25-2011 09:27 AM
Follow up...
Can someone explain the uses of the "Is Limit" and "Is Measruement" flags that can be checked? What/how does this affect the step? How can someone make use of these?
01-26-2011 02:51 AM
If you take a look into the report options, you will see that you can filter the content for "include limits" and "include measurement values".
hope this helps,
Norbert