Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Specify StyleSheet In SequentialModel

$
0
0

Hi,

 

I am using TestStand 2012 on a Windows 7 PC. I'm having trouble with dynamically specifying a StyleSheetPath (for XML report format) from within the SequentialModel. When specifying the path using Runstate.Execution.Report.StyleSheetPath, the correct style sheet is used when the report is displayed within TestStand on the Report tab of the completed execution. However, this style sheet is not saved to the report on disk. Instead, the report on disk uses the default style sheet as specified in Configure > Result Processing. 

 

What does work, is when I use Parameters.ReportOptions.RelStyleSheetPath from the ReportOptions callback in my client file (this causes the correct style sheet to be used both in TestStand and in the report on disk). Unfortunately this callback is empty within the SequentialModel, and does not seem to be executed unless overridden from a client file. 

 

We have a massive amount of client files, and adding the same ReportOptions callback to each of them is not ideal. I need a method for specifying the style sheet path once dynamically in the SequentialModel. Any help would be appreciated.

 

Regards,

Chris


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>