Page 1 of 1

Bug links inside HTML test report

Posted: Thu Sep 13, 2012 7:25 am
by nmilosevic
Hi,

can someone please tell me is it possible to insert test case referenced bug links into a test report?

Here is a simple scenario I want to be able to perform:

1. Execute test case, add a bug reference to it.
2. Create a test report and beside the usual stuff like:
Table of Contents
Header Numbering
Test Suite description
Test Case Summary
Test Case Scenario
Test Case Author
Test Case keywords
Test Case Custom Fields
Test Case Notes
Test results
Metrics

I want to insert bug links also. If someone knows how to do this or has some kind of advice please answer. Thanks!

Re: Bug links inside HTML test report

Posted: Sun Sep 23, 2012 9:23 am
by StephenP
A late response, but perhaps still of interest to someone:

Yes, you can do this. Just insert the link in the test execution notes in HTML. e.g. (I hope this renders OK in this forum software):
<a href="http://www.teamst.org/">Whatever link text you want</a>

A clickable link is placed in the HTML version of the test report. However the link is not highlighted, so be sure that the link text is sufficiently clear.
(Just tested in TestLink 1.9.4.)

Re: Bug links inside HTML test report

Posted: Mon Sep 24, 2012 9:19 am
by nmilosevic
Hi Stephen,

it's never too late. Thanks for the response. Your advice has a manual nature. I was thinking more about some kind of test report template tweaking. Since there is a possibility to add bug reference to the test case execution, these links are already somewhere in the system.