Page 1 of 1

Identical test ID in Test Project

PostPosted: Mon May 22, 2017 6:09 pm
by arielgott
Hi,
I'm working on TestLink version 1.9.14.
I've create a new project that was created from existing Test Project.
On the new Test Project we started to create new Test Cases.
After a while, we discovered that the new Test Cases was created with old existing test case IDs (External ID) that are already used in this Test project.
The new test case didn't start from 1, it started from test case id 702.
I didn't find any similar question in the forum from last years.
Can anyone explain me how can I fix it?

Re: Identical test ID in Test Project

PostPosted: Mon May 22, 2017 6:25 pm
by fman
If you have created a Test Project as a copy, the test case counter can not start on 1, because you have copied test cases.
New test case id are always test case counter+1

Re: Identical test ID in Test Project

PostPosted: Tue May 23, 2017 4:35 am
by arielgott
I didn't expect it to start from 1, I was expecting that the new test case will start from counter +1 like it always do. but this time the counter started from counter-30~.

what can I do now to recounting the new test cases that have identical test case ID ?

Re: Identical test ID in Test Project

PostPosted: Tue May 30, 2017 9:28 am
by arielgott
I noticed that after creating the new project the current amount of test cases is 703. but the highest test cases id in the project is 919 (probably some test cases was deleted).
The new test case that I create starts from NewPrefix-704.
Test case ID 704 is already exist.
Counter should be highest_test_case_ID +1 and not the amount _of_test _case_ID +1