NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

HTML report generation

Hi all,

I'm working on report generation.

I like XML report format (horizontal stylesheet). But this file can only be opened in IE.

I try to generate an HTML file from XML with XSL file but without succes : 

I use .NET framework (XslCompiledTransform) or MSXML ActiveX. But both ones generate a transformation error.

How can I do? Does it exist some examples?

 

Thanks for your help.

 

0 Kudos
Message 1 of 10
(4,273 Views)

Hello Maxmont,

 

Which version of TestStand do you use?

Do you get an error when going on:

Configure > Result processing > Report options (Tools icon on right) 

and choosing XML Document in Report Format using expand.xsl style sheet?

 

Cheers,

Armando

 

0 Kudos
Message 2 of 10
(4,249 Views)

Hi,

I'm using TestStand 2017. And XML report generation is working, no problem with that.

But XML report can only be viewed with IE and it requires XSL file on computer , so quite constraining.

That's why I would like to generate HTML file from XML with XSL in automatic process.

But I don't see how I can do...

 

0 Kudos
Message 3 of 10
(4,246 Views)

I've used MSXSL to convert TestStand reports to HTML with no issues - can you post the report and stylesheet that isn't working?

 

You also might want to kudo & follow this idea:

https://forums.ni.com/t5/NI-TestStand-Idea-Exchange/PDF-report-generator-for-teststand/idi-p/1617562

 

Thanks,

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 4 of 10
(4,237 Views)

I've managed to write a javascript which uses MSXML ActiveX and it's working.

If I use expand stylesheet, HTML file used some image file stored in "C:/Program Files (x86)/National Instruments/TestStand 2017/Components/Models/TestStandModels/StyleSheets/"

Doesn't it exist a deployment tool to install this resources on all PC?

Thanks for your help

 

0 Kudos
Message 5 of 10
(4,231 Views)

This is probably what you need:

https://www.ni.com/docs/en-US/bundle/teststand/page/xml-packaging-utility.html

 

If you use the packaging utility, you don't really need to convert it to HTML.

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 6 of 10
(4,229 Views)

Yes it may be what I want.

If I don't want to use IE, I have to convert in HTML (chrome doesn't manage XML tranformation thought xsl).

Thanks

 

0 Kudos
Message 7 of 10
(4,223 Views)

Another question on XML report generation.

I'd like to remove Sequence call log (with result and identation) without removing log on the sub sequences.

How can I do that (by XSL, by TS, by XML)?

 

 

0 Kudos
Message 8 of 10
(4,218 Views)

You'll need to modify the stylesheet. There are a few relevant threads about this already:

https://forums.ni.com/t5/NI-TestStand/Prevent-xml-stylesheet-teststand-from-creating-tables-for-flow...

 

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 9 of 10
(4,211 Views)

I'm customizing standard xsl file for my need. And it's not so simple.

I'd like to modify the order of result in the report.

I have results with their limits and after the additional results.

I'd like to have additional results before results limit test.

Is it possible?

Thanks for your help

 

0 Kudos
Message 10 of 10
(4,201 Views)