05-13-2009 08:10 AM
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?
Solved! Go to Solution.
05-14-2009 06:30 AM
Hi Patoh,
Can you tell me which version of Teststand you are using?
05-14-2009 06:40 AM
Hi Sheela,
TestStand versions 3.5 and 4.1.1.
Regards,
Pat
05-14-2009 10:54 AM
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.
05-18-2009 06:18 AM
Hi Sheela,
Works perfectly.
Thanks,
Pat
08-06-2009 02:59 PM - edited 08-06-2009 03:02 PM
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.