NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step requirements listed in an ATML report

Solved!
Go to solution

I'd like to have a list of requirements as additional results in my ATML report (so Requirements Gateway can read them).  Anyone done this before, and can point me in the right direction?  I was thinking I could just add a post-step callback that adds them if they're there, but I'm wondering if there's a more efficient method...





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
Message 1 of 4
(3,187 Views)
Solution
Accepted by topic author crelf

Sadly, the images you included do not display on my computer.

Have you checked "Additional Results" already? - Requirements are a preconfigured selection there....

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Message 2 of 4
(3,143 Views)

You can also use the API method Execution.AddExtraResult which

copy a step property to the results list after the execution of each step. For example

RunState.Execution.AddExtraResult("Step.TS.Requirements.Links", "Requirements")

 

Unfortunately, to be displayed in the report, you must enable the IncludeInReport flag for the property. Maybe you can modify the step type of all the steps you want to display requirements and enable the IncludeInReport flag of Step.TS.Requirements.Links

 

Have a look in the help page Adding Custom Data to a Report

 

Regards

Message 3 of 4
(3,136 Views)

Thanks guys - you're awesome.  I now have Requirements Gateway tracing TestStand XML report for requirements.  Once I have a few more requirements tagged in TestStand, I'll upload a screenshot of the project hierarchy 🙂





Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
0 Kudos
Message 4 of 4
(3,128 Views)