NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging a subsequence's step's properties to a database

I am trying to log a specific piece of data that exists as a string in the requirements property of an arbitrary step of an arbitrary subsequence of my test's main sequence. For example:

The test is called BigTest.seq
    Step1:  mainsequence in subsequence1.seq
    Step2:  mainsequence in subsequence2.seq
    Step3:  mainsequence in subsequence3.seq
    Step4:  mainsequence in subsequence4.seq

(arbitrary) subsequence3.seq contains
    Step1: do something
    Step2: do something
    Step3: do something
    Step4: do something (contains a string in the requirements property field)
    Step5: do something

Is there a way I can log that string in the requirements property field to a database after running the test BigTest.seq?

Frederick Upchurch
Software Engineering Intern, Software Integration & Test,
Army Programs, Armament Systems,
BAE Systems
0 Kudos
Message 1 of 3
(3,013 Views)

Hi,

Have haven't tried this but if you are using TS4.1, you could try the new function Addional Results. (I'm not sure if it works with database logging.)

It's simple to use for recording results.

In the Properties, is Additional Results.

In the Value to log select the Step.TS.Requirements. In the Name column, Requirements should appear, enable the  Include in Log  checkbox.

If you do this for your Step 4 in subsequence3.seq, then when you run you sequence file, the requirments will appear in the report.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 3
(3,002 Views)
Hello Frederick,

I also wanted to give you the links of a few other users that have wanted to insert their requirements into the report, too.  I hope this helps.
How can I read a step's requirements?
Can I display the Requirements in the report?
Best Regards,
Software Engineer
Jett R
0 Kudos
Message 3 of 3
(2,956 Views)