Page 1 of 1
Filtering Test Reports
Posted: Wed Feb 06, 2019 6:51 pm
by ElvisJG
Using TestLink 1.9.18, i have been attempting to either filter or omit a few of the fields that are generated with the Test Reports Execution type, Estimated exec. Duration, Priority or any other added rows (some tests have Attached Files, some have Relations) is this something that is possible by altering either the php files or through the web interface? Just need a little help going in the right direction
Very appreciated, Thank You

Re: Filtering Test Reports
Posted: Thu Feb 07, 2019 5:29 pm
by fman
Your requirements is not clear.
The only thing you can do from WEB GUI is what you currently can access as a set of checkboxes.
Any other customization need to be done on code.
Re: Filtering Test Reports
Posted: Thu Feb 07, 2019 8:02 pm
by ElvisJG
Ah, sorry about that. Yeah, i'm pretty sure the requirements needed would have to be done through code as you've mentioned. Is there anywhere i can find which files contain the variables or fields i'd need to change? I've looked through the manual, but have had no luck.
Thank you for the reply, Fman
You're a gentleman and a scholar

Re: Filtering Test Reports
Posted: Fri Feb 08, 2019 11:32 am
by fman
This kind of documentation does not exist.
The files that can be of interest are :
all present in reports folder
print.inc.php
printDocument.php
these are the base code, but uses different classes =>testcase.class.php , ect
it would be great if you can document your findings and share with community
Re: Filtering Test Reports
Posted: Fri Feb 08, 2019 4:22 pm
by ElvisJG
Hey again,
Thank you so much for the information, i found the print.inc.php file within /lib/functions inside of TestLink. I actually dropped the fields we didn't want to show up on the reports (They where manually cutting the fields out in an editor) by commenting out the table creation code. They are all pretty neatly organized with a comment IE // estimated execution time. You'll see html table elements like <tr><td width> etc if you're looking in the right spot. Nothing broke and works seamlessly for our uses. Thanks again
