Identical test ID in Test Project

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

Moderators: Amaradana, TurboPT, TL Developers

Identical test ID in Test Project

Postby arielgott » Mon May 22, 2017 6:09 pm

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?
arielgott
TestLink user
 
Posts: 14
Joined: Mon Oct 28, 2013 8:24 pm

Re: Identical test ID in Test Project

Postby fman » Mon May 22, 2017 6:25 pm

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

Re: Identical test ID in Test Project

Postby arielgott » Tue May 23, 2017 4:35 am

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 ?
arielgott
TestLink user
 
Posts: 14
Joined: Mon Oct 28, 2013 8:24 pm

Re: Identical test ID in Test Project

Postby arielgott » Tue May 30, 2017 9:28 am

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
arielgott
TestLink user
 
Posts: 14
Joined: Mon Oct 28, 2013 8:24 pm


Return to TestLink 1.9



Who is online

Users browsing this forum: No registered users and 7 guests