NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I display the Requirements in the report?

Is there a simple way of getting TestStand to display the Requirements in the report?  I could make a custom reportgen sequence if necessary, but wondered if there's an easier way - e.g. ticking a box somewhere.
 
The sequence files already exist - we just need to be able to verify that each step has requirements attached.  I know that the sequence file documentation includes the requirements, but some of them are programmatically generated at runtime, e.g. for multiple iterations of looped steps.  In such a case, the documentation would just show the static data of an empty string.
 
We don't use the Requirements Gateway, we just directly enter strings into the Step.Requirements.Links array.
 
Thanks very much.
0 Kudos
Message 1 of 5
(3,598 Views)
Hi Sean,

I don't think there is an option to include the requirements in the report  but if you add a SequenceFilePostStep callback you can add the requirements to the report text of each step. I have attached a sequence that does just this.

Regards

Jon B
Applications Engineer
NI UK & Ireland
Message 2 of 5
(3,581 Views)

Super, that will do nicely.

Could this be added as an out-of-the-box feature to a wishlist, e.g. a tick option in the report options?

Thanks very much

-Sean.

0 Kudos
Message 3 of 5
(3,557 Views)
Hi Sean,

You can post feature requests and idea for product in the Product Suggestion Center linked bellow:

http://digital.ni.com/applications/psc.nsf/default?OpenForm

Glad you liked my solution.

Regards

Jon
Message 4 of 5
(3,538 Views)
OK.  Done, ta.
0 Kudos
Message 5 of 5
(3,534 Views)