NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Limits of custom steptypes are not included in XML-Report with horizontal stylesheet. Is there a bug?

Although I set all flags correctly (same as NITypes) the limits of my customized step type are not included in the report when I choose XML with horizontal style sheet. If HTML report or the other two possible style sheets are chosen everything works allright.
The limits are visible in the result list at runtime.

Is it possible that there is a bug in the horizontal style sheet?

Thanks for support...

System: TestStand Engine Version 3.1 (3.1.0.9095)
Sequence Editor Version 3.1 (3.1.0.9095)
0 Kudos
Message 1 of 4
(3,184 Views)
Hi

Please check if the style sheets posted in the link below solve your problem.
http://forums.ni.com/ni/board/message?board.id=330&message.id=5668#M5668

If it does not can you please post a simple XML file which shows your problem.
Also compare the reports with a HTML report.

Regards
Anand Jain
National Instruments.
0 Kudos
Message 2 of 4
(3,177 Views)
Unfortunately the new style sheets don't fix the problem.

As you can see in the HTML report file, the limits are included. Not so in the XML file.

The report I've attached is of a numeric limit test that wasn't developed by changing the existing NI StepType!
But I think the (visible) flags are set the same way.
I tried to combine the custom step type with the existing NI type and the generated step type works! I attached a screenshot of the popup after combining the types, too.
Can you help me in setting the flags the right way, if the solution is to find there?

Regards
Steffen
0 Kudos
Message 3 of 4
(3,165 Views)
Hi,
The current version of the stylesheets were designed to work with the NI step types and new step types, if they follow the same step properties structure.
For example for limits to be displayed in the correct columns, the style sheet looks for the following properties to exist in the XML file-
1. Step.Result.Numeric
2. Step.Comp
3. Step.Limits

If they not exist then the style sheet does not try to process the step type as it does an NI Numeric limit step type.

So the fix your issue is to add a new case for your custom step type in your style sheet and it is not really a bug in the style sheet.

Although we do not support writing style sheets, I have attached a modified horizontal style sheet example to fix your problem for your specific
step type. To find out all the changes look for the word "Customer" in the attached style sheet file.

Warning: May not work correctly with all NI step types and your custom steps. Also the changes have not been tested for all cases.

I hope this helps.

Regards
Anand Jain
National Instruments.
0 Kudos
Message 4 of 4
(3,147 Views)