in "Test Report",check "Metrics",at the bottom will see:
Reports and Metrics
Estimated time for executing 3 test cases (min):50
Time used for executing 3 test cases (hours):2
i want this display at the top.
what should i do ?
thank you.
move Estimated time
Moderators: Amaradana, TurboPT, TL Developers
Re: move Estimated time
do a little bit of reverse engineering (not so complicated) and move lines at please you want but you will be very careful each time you will upgrade test link, to redo your changes
-
- Advanced user
- Posts: 22
- Joined: Wed Jan 27, 2010 3:21 am
Re: move Estimated time
i am not good at php,and i spent all my afternoon to find where is the key place,but failed.
is there a develop guide ?
is there a develop guide ?
Re: move Estimated time
developer guide will be useless in this situation, because is not aimed to this kind of needs
-
- Advanced user
- Posts: 22
- Joined: Wed Jan 27, 2010 3:21 am
Re: move Estimated time
the answer is :
in printDocument.php,move below code to line 274(below case DOC_TEST_REPORT:)
if (($doc_info->type == DOC_TEST_REPORT) && ($printingOptions['metrics']))
{
$docText .= buildTestPlanMetrics($doc_data->statistics,$platform_id);
}
in printDocument.php,move below code to line 274(below case DOC_TEST_REPORT:)
if (($doc_info->type == DOC_TEST_REPORT) && ($printingOptions['metrics']))
{
$docText .= buildTestPlanMetrics($doc_data->statistics,$platform_id);
}