NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove "Interactive Execution #: " entrys from report files ?

Hi.
 
When I run parts of my sequence I always get lines with
 
"Interactive Execution #: xx"   (xx is a number).
 
How can I avoid TS from inserting those lines ?
 
Thanks.
 
Best regards,
Dominique Buerger
 
0 Kudos
Message 1 of 7
(4,675 Views)

You can deactivate Report Generation for Interactive Execution by going to the Station Options (Menu Configure-->Station options...). In the "Execution" Tab, there is a Option "Record Results" in the "Interactive Executions" Section. If you deactivate this option, there souldn´t be any report entries anymore for steps executed in interactive mode.

 

Hope this helps!

 

0 Kudos
Message 2 of 7
(4,658 Views)
Hi!

Thanks for your fast response!

Unfortunately that does not solve the problem because now the interactive excution steps are no longer reported at all.
All I want is that those extra lines with "Interactive Excutions #:" number counter do not appear but I want the reporting of results for
interactive executions still be enabled.

I do a lot of interactive runs but those extra lines with the counter just confuses people reading the reports...

Thanks.

0 Kudos
Message 3 of 7
(4,653 Views)

Hi,

You will have to modify the report generation sequence. You should be able to do this by using one of the Callback sequences.

Which format are you using for the report.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 7
(4,651 Views)
Hi!

I am using XML format with "horizontal.xml" template.

Best regards,
Dominique
0 Kudos
Message 5 of 7
(4,649 Views)

Hi,

Ok I thought you might.

You will need to modify the style sheet, eg horizontal.xsl to remove the Interactive Execution related text.

Before you start, copy the TestStandModels folder from the Components/NI/Models to the Users/Models folder. When you next launch TestStand it will then use the files from the User folder

I have attached an example with the modification.

the line that been editted is:

<!--<xsl:apply-templates select="Prop[@Name='TS']/Prop[@Name='InteractiveExeNum']"></xsl:apply-templates>-->   I have just commented it out

and also the following, ( not sure if its necassary to remove this lines)

<!-- <xsl:template match="Prop[@Name='InteractiveExeNum']">

<tr>

<td valign="center" nowrap="nowrap">

<font size="1">

<xsl:value-of disable-output-escaping="yes" select="user:GetStdIndentation()"></xsl:value-of>

Execution #:

</font>

</td>

<td nowrap="nowrap" colspan="6">

<font size="1">

<xsl:value-of select="Value"></xsl:value-of>

</font>

</td>

</tr>

</xsl:template>--

>

All I have done is comment out the line by using <!--      -->

I have had to add .txt to the file to get it attached

 

Hope this helps

Regards

Ray Farmer

Regards
Ray Farmer
Message 6 of 7
(4,636 Views)
Just to mention for the sake of completeness, another possibility might be to iterate through the results tree and delete any TS.InteractiveExeNum properties that exist before passing the results to the report generator.
 
 
 
0 Kudos
Message 7 of 7
(4,633 Views)