TestLink - delete test cases from test specification

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

TestLink - delete test cases from test specification

Postby eldadc » Wed Mar 19, 2014 7:49 am

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
eldadc
TestLink user
 
Posts: 12
Joined: Thu Nov 28, 2013 6:53 am

Re: TestLink - delete test cases from test specification

Postby rsakhale » Fri May 09, 2014 1:37 pm

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;
rsakhale
TestLink user
 
Posts: 2
Joined: Thu Aug 16, 2012 7:41 am
Location: Mumbai, India

Re: TestLink - delete test cases from test specification

Postby fman » Sat May 10, 2014 8:14 am

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.
fman
Member of TestLink Community
 
Posts: 3063
Joined: Tue Nov 15, 2005 7:19 am


Return to Installation and configuration



Who is online

Users browsing this forum: No registered users and 3 guests