[SOLVED] Want to add Execution Type "To be decide"

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
cookie
TestLink user
Posts: 7
Joined: Mon Nov 29, 2010 2:11 pm

[SOLVED] Want to add Execution Type "To be decide"

Post by cookie »

Currently there are Manually and Automated available but I want to add "To be decide". Is that possible?
Last edited by cookie on Fri Dec 17, 2010 4:11 pm, edited 1 time in total.
cookie
TestLink user
Posts: 7
Joined: Mon Nov 29, 2010 2:11 pm

Re: Want to add Execution Type "To be decide"

Post by cookie »

I added definition in const.inc.php -> define('TESTCASE_EXECUTION_TYPE_DECIDE', 3);

I added also to testcase.class.php ->
$this->execution_types = array(TESTCASE_EXECUTION_TYPE_MANUAL => lang_get('manual'),
TESTCASE_EXECUTION_TYPE_AUTO => lang_get('automated'),
TESTCASE_EXECUTION_TYPE_DECIDE => lang_get('to be decide')


the combo box is working correct but instead of string "to be decide" im getting "LOCALIZE: to be decided" - how can i add this string to localize translations ? please point me to the right direction i wonder how it works.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Want to add Execution Type "To be decide"

Post by fman »

'to be decide' can not be used only allowed chars: letters, numbers and underscore
For en_GB localization
[YOUR TL INSTALL DIR]\locale\en_GB\custom_strings.txt

create it giving a look to strings.txt
cookie
TestLink user
Posts: 7
Joined: Mon Nov 29, 2010 2:11 pm

Re: Want to add Execution Type "To be decide"

Post by cookie »

fman wrote:'to be decide' can not be used only allowed chars: letters, numbers and underscore
For en_GB localization
[YOUR TL INSTALL DIR]\locale\en_GB\custom_strings.txt

create it giving a look to strings.txt
Thank you fman of course works
SRTest
TestLink user
Posts: 3
Joined: Thu Oct 11, 2012 7:02 pm

Re: [SOLVED] Want to add Execution Type "To be decide"

Post by SRTest »

Hi,

I've succeed to add an execution type as described below. 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?

Thanks.
Post Reply