tc_external_id value returned by getTestCaseIdByName mapping

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
abadve
TestLink user
Posts: 13
Joined: Wed Feb 18, 2009 1:56 am

tc_external_id value returned by getTestCaseIdByName mapping

Post by abadve »

When I import test suites into a testplan from another project and test plan I see that the GUI assigns the test cases some ids. When I execute getTestCaseIdByName function I see that the function returns tc_external_id for some cases same as the old external id. Is there a way I can assign/preserve the same external test case ids across two different projects within two different test plans when I do import/export?
How are the testcase external id and test case id values mapped to the id values shown on the GUI?
testlinkiscool
Advanced user
Posts: 24
Joined: Mon May 24, 2010 2:24 am

Re: tc_external_id value returned by getTestCaseIdByName map

Post by testlinkiscool »

provide the testprojectname and planname
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: tc_external_id value returned by getTestCaseIdByName map

Post by fman »

external tc id is computed using a counter for each test project, and there is no provision to maitain same external id when importing on different test project (you can not know if external id is already used).
Post Reply