NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Process model : additional results

Solved!
Go to solution

Hello,

 

I new to TestStand Framework (Process models).

I would like to configure the process model for my project to include step comments and step requirements for each step in the sequence.

I have seen solutions where sequence callbacks have been used to implement this. But this requires embedding callbacks in the sequence file which I do not wish to.

 

How do  I do this??

 

Regards

 

Mitun

0 Kudos
Message 1 of 4
(4,362 Views)
Solution
Accepted by topic author mikan900

Hey Mitun,

 

Is there a reason you cannot use callbacks?

 

Reporting in TestStand consists of 2 elements: Result Collection and Report Generation.  Basically the report is generated on what is collected.  The collection occurs during execution time.  So basically if your collection doesn't contain the comments and requirements then there is no way a report can be generated with that information (because that information is no longer in memory).

 

However, since these are static elements of a step you could potentially get away with creating some sort of reporting mechanism to look at the disk copy of the sequence and grab that information using the TestStand API.  The idea would be that you would recurse through your result collection and looking at the result properties you could identify which step in which sequence in which sequence file was called.  Then go open that sequence file and glean the requirements and comments for that step.  Quite honestly this would be a hairy algorithm.

 

If you were using on the fly reporting you could use the ProcessModelPostResultListEntry callback in the process model and get the step info and put it on the report.  This would save you from having to add any callbacks to your client seqeunce file.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 4
(4,337 Views)

Thanks a lot for the information Jiggs.

The information was very helpful.  I used this method to implement it.


If you were using on the fly reporting you could use the ProcessModelPostResultListEntry callback in the process model and get the step info and put it on the report.  This would save you from having to add any callbacks to your client seqeunce file.

 

Hope this helps,


Can you please suggest me reference documents for TestStand process model.

Regards,

 

Mitun

0 Kudos
Message 3 of 4
(4,318 Views)

http://www.ni.com/white-paper/2694/en/

 

http://www.ni.com/white-paper/7958/en/

 

http://www.ni.com/white-paper/3819/en/

 

Here are a few.  Hopefully you will find them enjoyable.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 4
(4,305 Views)