NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How Teststand determines the final status of a sequence

Hello

In my application I created a custom limit test, the step.result can be either "passed", "failed" or "passed but ..." ( I mean that the data are inside the limits but to close of these limits)

Now I want that the final status execution of my sequence must be "passed but" if one of my custom step have this status.

I would like to know where teststand determines the final execution status, should i modify the process model to watch the result list and fix the status of my sequence at "passed but " if i see one ??? I s there another way

In relativ sophisticated test sequenceur the final status can be different than just "passed" or "failed"

0 Kudos
Message 1 of 7
(4,233 Views)
Hi,

Your question is very interesting but why not using the ReportText to add extra information in the report (for the step or the sequence call)?
When you have edited your custom step, i assume you have used the container Step.Result.status to send the result of your step..
You can customize everything and create your own result list to have a step following the behavior your are expecting...

But i think that you have to programmaticaly  change the status of a sequence call depending on the result of the steps inside it.

Kamal
NIF
 
 
 
 
0 Kudos
Message 2 of 7
(4,206 Views)
Thanks for your answer

Actually my question was to determinate the final status which is written in the report. I create my own data test report , and the specific status is written in it, fot that non problem. My problem is to know how is determinate the final status of a sequence file, i managed to set the status of a sequence at "ok but" (if one of my step status is this one) , using caller.step.result ... but it is not possible for the main sequence....
i hope it is just for the moment !
0 Kudos
Message 3 of 7
(4,190 Views)
Hi
you should look at the following container:
"RunState.Caller.RunState.Sequence.Main["MainSequence Callback"].Result.Status"
 
Thanks
kamal
0 Kudos
Message 4 of 7
(4,177 Views)
Hi
you should look at the following container:
"RunState.Caller.RunState.Sequence.Main["MainSequence Callback"].Result.Status"
 
Thanks
kamal
----------------------------------------------------------------------------------------------------------------------
 
 
 
Hello Kamal
Under the "RunState.caller" I have found nothing.
Would you tell me which window I can see the "RunState.Caller.RunState.Sequence.Main["MainSequence Callback"].Result.Status"
 
Thank you.
0 Kudos
Message 5 of 7
(4,055 Views)
Hi
You have to check this property while tour callback is executed.
You can set a breakpoint after the mainsequence callback of your processmodel.

kamal
NIF
0 Kudos
Message 6 of 7
(4,033 Views)

Kamal,

I got, thank you.

 

0 Kudos
Message 7 of 7
(4,023 Views)