TestLink - delete test cases from test specification

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
eldadc
TestLink user
Posts: 12
Joined: Thu Nov 28, 2013 6:53 am

TestLink - delete test cases from test specification

Post by eldadc »

hi,

How to delete test cases from test specification when they are linked to a test plan.
Although I have rights I always get :
Your role has no right to delete executed test cases or test case versions

Thanks
eldadc
TestLink user

Posts: 10
Joined: Thu Nov 28, 2013 6:53 am
rsakhale
TestLink user
Posts: 2
Joined: Thu Aug 16, 2012 7:41 am
Location: Mumbai, India
Contact:

Re: TestLink - delete test cases from test specification

Post by rsakhale »

By default the configuration in TestLink disables deletion of executed test cases, it is actually good because it helps maintain the actual result hierarchy of the test case and in case the test case changes new result should be mapped over the new test case version and the test plan should be updated to now point to the newest test case version instead of the old version.

Still, you can change the configuration to allow cases to be deleted even after executing by changing following changes in config.inc.php

SEARCH FOR,

Code: Select all

$tlCfg -> exec_cfg -> can_delete_execution = DISABLED;
REPLACE WITH,

Code: Select all

$tlCfg -> exec_cfg -> can_delete_execution = ENABLED;
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: TestLink - delete test cases from test specification

Post by fman »

1. Be careful with code you write => your examples will not run due to spaces.
2. this configuration has been removed at least since 1.9.9, now you have to use a right.
Post Reply