Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006283TestLinkReportspublic2014-04-03 13:162015-04-19 08:59
Reporterhmah 
Assigned To 
PrioritynormalSeverityfeature requestReproducibilityN/A
StatusnewResolutionopen 
PlatformAllOSAllOS VersionAll
Product Version1.9.9 (2013 Q4 - bug fixing) 
Fixed in Version 
Summary0006283: user contribution - Adding execution time stamp to Test Report
DescriptionThe execution time stamp is missing from the test report, follow the steps below to add it:

1- IN class ..\testlink\lib\functions\print.inc.php , function "initRenderTestCaseCfg(&$tcaseMgr)$labelsKeys=array" :
Add element 'execution_ts' to variable array $labelsKeys.

2- IN class ..\testlink\lib\functions\print.inc.php , function "buildTestExecResults(&$dbHandler,&$its,$cfg,$labels,$exec_info,$colspan,$show_exec_notes = false,$buildCF=null)" :
Add to $out before line 1543 ( build print) :
$out .='<tr><td width="' . $cfg['firstColWidth'] . '" valign="top">' . $labels['execution_ts'] .'</td>' .
          '<td ' .$td_colspan . '>' . htmlspecialchars($exec_info[0]['execution_ts']) . "</td></tr>\n";

3- IN ..\testlink\locale\en_GB\strings.txt :
Add for label execution_ts
$TLS_execution_ts = "Execution Date";
Steps To Reproduce1 - create test project
2 - create test suite with some test cases
3 - create a testPlan and a test build
4 - assigne and execute some test cases
5 - go to Report and metrics and delect test report
6 - on the tree of the right panel click on the test suite
7 - time stamp row is printed after build row with the label Execution Date
TagsNo tags attached.
Database (MySQL,Postgres,etc)All
BrowserAll
PHP Version5.4
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0020682)
hmah (reporter)
2014-04-04 13:02

@Fman
would you please add it before the release of 1.9.10.
thanks for your great job.
(0023113)
hmah (reporter)
2015-04-19 07:05

I have to add this patch each time I update TestLink. it would be grateful if the development team add it in the next release of TestLink.
(0023114)
fman (administrator)
2015-04-19 08:11
edited on: 2015-04-19 08:59

This information is present in the EXCEL output because IMHO adding more info on screen is a bad idea, this is the reason why this will not be added to official code (at least for a while)


- Issue History
Date Modified Username Field Change
2014-04-03 13:16 hmah New Issue
2014-04-04 13:02 hmah Note Added: 0020682
2014-04-04 14:56 fman Note Added: 0020683
2015-04-19 07:05 hmah Note Added: 0023113
2015-04-19 08:11 fman Note Added: 0023114
2015-04-19 08:58 fman Note Deleted: 0020683
2015-04-19 08:59 fman Note Edited: 0023114 View Revisions



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker