Hi all,
I have succeed to add an "execution type" as explained in this post: "[SOLVED] Want to add Execution Type "To be decide"", and all is OK, except that "new execution type" is not correctly reported in Test Plan report.
Instead of new execution type ("To be decide" for example), default execution type value ("Manual") is written in Test Plan report.
Is anybody have an idea?
PS: I have already posted my question in the other thread, but as this one is marked as "[SOLVED]", may be it's no he right place.
Thanks for your help.
Test Plan Report - issues with a new "Execution type"
Moderators: Amaradana, TurboPT, TL Developers
Re: Test Plan Report - issues with a new "Execution type"
It will be interesting to have at least a hint regarding what was your other post. No post is set to solved just because is placed in a wrong place.
IMHO because we do not have designed the execution type to configurable we have implemented a code with an if and not with a switch, that's the reason.
IMHO because we do not have designed the execution type to configurable we have implemented a code with an if and not with a switch, that's the reason.
Re: Test Plan Report - issues with a new "Execution type"
http://www.teamst.org/forum/viewtopic.p ... d50#p16992
whas marked as solved because ORIGINAL author received the answer and confirmed it worked.
You can contact other users via direct post messages
whas marked as solved because ORIGINAL author received the answer and confirmed it worked.
You can contact other users via direct post messages
Re: Test Plan Report - issues with a new "Execution type"
one possible solution (not tested)
on print.inc.php
Look for switch ($tcInfo['execution_type'])
Change current code with:
switch ($tcInfo['execution_type'])
{
case testcase::EXECUTION_TYPE_AUTO:
$code .= $labels['execution_type_auto'];
break;
case testcase::EXECUTION_TYPE_MANUAL:
$code .= $labels['execution_type_manual'];
break;
default:
$code .= $labels['execution_type_custom_' . $tcInfo['execution_type']];
break;
}
for each custom execution type (suppose you add type XX with code 3 and YY with code 4) you need to create the CUSTOM STRINGS
$TLS_execution_type_custom_3
$TLS_execution_type_custom_4
Please provide feedback
on print.inc.php
Look for switch ($tcInfo['execution_type'])
Change current code with:
switch ($tcInfo['execution_type'])
{
case testcase::EXECUTION_TYPE_AUTO:
$code .= $labels['execution_type_auto'];
break;
case testcase::EXECUTION_TYPE_MANUAL:
$code .= $labels['execution_type_manual'];
break;
default:
$code .= $labels['execution_type_custom_' . $tcInfo['execution_type']];
break;
}
for each custom execution type (suppose you add type XX with code 3 and YY with code 4) you need to create the CUSTOM STRINGS
$TLS_execution_type_custom_3
$TLS_execution_type_custom_4
Please provide feedback
Re: Test Plan Report - issues with a new "Execution type"
Hi,
Thanks a lot for your feedback. I will try your solution a soon as possible and keep you informed.
Regards
Thanks a lot for your feedback. I will try your solution a soon as possible and keep you informed.
Regards