Changing executed test cases

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
JensFF
TestLink user
Posts: 10
Joined: Fri Feb 13, 2009 8:41 am

Changing executed test cases

Post by JensFF »

Hi,

is it possible to change an already executed test case? I want to add some notes.

Thank you
kcurran
Advanced user
Posts: 16
Joined: Fri Jan 23, 2009 4:05 pm

Post by kcurran »

There are 2 options you can configure depending on what you want to do.

// ENABLED -> user can edit executed tc versions
// DISABLED -> editing of executed tc versions is blocked. [STANDARD BEHAVIOUR]
$tlCfg->testcase_cfg->can_edit_executed = ENABLED;

// 1 -> user can edit execution notes, on old executions (Attention: user must have test case execution right)
// DISABLED -> no edit allowed [STANDARD BEHAVIOUR]
$tlCfg->exec_cfg->edit_notes = ENABLED;
Jorgez
TestLink user
Posts: 2
Joined: Sat Jul 05, 2008 11:22 pm

Post by Jorgez »

Could you kcurran please identify what directory/page is where the change has to be done?


Thank you
kcurran
Advanced user
Posts: 16
Joined: Fri Jan 23, 2009 4:05 pm

Post by kcurran »

These options are defined in the config.inc.php file. To change them, you should follow best practices and make the changes in custom_config.inc.php.
JensFF
TestLink user
Posts: 10
Joined: Fri Feb 13, 2009 8:41 am

Post by JensFF »

Thank you. That's what I wanted to know. We will try it.
kcurran wrote:There are 2 options you can configure depending on what you want to do.

// ENABLED -> user can edit executed tc versions
// DISABLED -> editing of executed tc versions is blocked. [STANDARD BEHAVIOUR]
$tlCfg->testcase_cfg->can_edit_executed = ENABLED;

// 1 -> user can edit execution notes, on old executions (Attention: user must have test case execution right)
// DISABLED -> no edit allowed [STANDARD BEHAVIOUR]
$tlCfg->exec_cfg->edit_notes = ENABLED;
Locked