NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Results Chain links not working in the HTML file.

Solved!
Go to solution

After using the doc at http://zone.ni.com/devzone/cda/tut/p/id/4563 to build a full results failure chain in the TestStand HTML file.

 

Why do some of the links in the results file not work?

0 Kudos
Message 1 of 6
(4,301 Views)

Hi Patoh,

 

Can you tell me which version of Teststand you are using?

Sheela Sujeeun

Applications Engineer
National Instruments UK
0 Kudos
Message 2 of 6
(4,281 Views)

Hi Sheela,

TestStand versions 3.5 and 4.1.1.

 

Regards, 

Pat

0 Kudos
Message 3 of 6
(4,274 Views)
Solution
Accepted by topic author patoh

Hi Pat,

 

The issue is down to the Add Step Name step within reportgen_html.seq.  This step is currently set to add an ID for a step that causes the sequence to fail.  So at the moment, while you get the full list of steps that fail, TestStand does not assign the html link target.  To remedy this we can modify the step by removing some of the expression.  See the attached file which highlights the sections of the expression that need to be removed, and what the expression needs to be.

 

Once you implement this change you should get all the steps fully linked.

Sheela Sujeeun

Applications Engineer
National Instruments UK
0 Kudos
Message 4 of 6
(4,257 Views)

Hi Sheela,

Works perfectly.

 

Thanks,

Pat

 

0 Kudos
Message 5 of 6
(4,234 Views)

I am using TestStand 4.0 and (IE) Internet Explorer 7, I generate the HTML report with FAILURE CHAIN.

All links break when I copy the report.

 

Ex: Report is stored at C:\report\test.html.

 

IE -> File -> Open -> C:\report\test.html;  Using View menu item -> Open the Soruce code;

The failure chain has something link this:

<TR><TD BGCOLOR=#d0d0d0><A href=#ResultID4444>TestID=100173</A><TD BGCOLOR=#d0d0d0>Ci10Test<TD BGCOLOR=#d0d0d0>mytest.seq

etc.


Save this report on desktop using File-> Save AsOption. (test123.html).

Open the report and view the source, which is now:
<TR><TD bgColor=#d0d0d0><A href="file:///C:/Report/test.html#ResultID4444" mce_href="file:///C:/Report/test.html#ResultID4444">TestID=100173</A><TD bgColor=#d0d0d0>Ci10Test<TD bgColor=#d0d0d0>mytest.seq

All these links will work as long as I have the original report (test.html) in C:\report.

Once I delete the original report none of the links in the copied report will work.

How can I maintain my link?

 

Note: There are extra spaces in the posted code. Actual htmel code does not have any extra spaces.

 
Message Edited by Vidula S. on 08-06-2009 03:00 PM
Message Edited by Vidula S. on 08-06-2009 03:00 PM
Message Edited by Vidula S. on 08-06-2009 03:02 PM
0 Kudos
Message 6 of 6
(4,103 Views)