NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

step result status

Hello all,
 
Please help out to get the step result status(Pass/Fail) at the end of every step execution.
 
Regards
MadhuSri
 
0 Kudos
Message 1 of 2
(3,103 Views)
Hi MadhuSri,
 
I'm not sure that I understand why you are asking this, but let's start with the basics...
 
When you wish to have a Pass/Fail result for a given step, you must create a Pass/Fail type of step.  For instance, this is done by right-click in the sequence editor and selecting "Insert Step > Test > Pass/Fail Test"
 
You can rename the step (it is highlited when being created).
 
Right-Click on the newly created test step and select "Prioperties" at the bottom of the list. Select "Run Options" Tab.
Verify that there is a checkmark inside the box to the left of "Record Results", so that the outcome appears in the test report.
 
If you want to modify the source of the Pass/Fail flag, you can right-click the step and select "Edit Pass/Fail Source".  It should show

"Step.Result.PassFail"

If the test results is from an external source, such as a dll, you can right-click the step and select "Specify Module".  You should see a list of parameters at the bottom of the window.  Typically, the value is passed to "Step.Result.PassFail".
 
Hope this helps,

JLV
Message 2 of 2
(3,096 Views)