Remove id from reports – TestLink
As I promised here (Testlink update Notes / Description after every entry tutorial), I finally found some time to write a small tutorial on how to remove the project id from the reports in TestLink. I decided to help the comunity with this tutorial because a lot of people asked on the forum and until now there was no answers.
All the projects from TestLink have a custom id. For example if we have a project for PC, the id we are going to use will probably be “pc_”, if we have a project for Nintendo DS, the id could be “nDS_”. The id field is required when creating a project. If you don’t want to display that id in front of each test case, you will need to find the file resultsMoreBuilds_report.tpl (a template file found under gui/templates/results).
Go to line 222.
<td>{$inst.testcasePrefix|escape}{$inst.external_id}: {$inst.name|escape}</td>
Change the line to:
<td>{$inst.name|escape}</td>
Also for my instalation I wanted to remove the link of the testcases from the reports. To do that you will need to find line 227.
<td>{$inst|execute_link}</td>
And change-it like this, to have no links.
<td>{$inst.name|escape}</td>
Easy and helpful fix. All the best.




