Page 1 of 1

tc_external_id value returned by getTestCaseIdByName mapping

Posted: Sat Feb 06, 2010 4:28 am
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?

Re: tc_external_id value returned by getTestCaseIdByName map

Posted: Mon Jun 07, 2010 4:31 am
by testlinkiscool
provide the testprojectname and planname

Re: tc_external_id value returned by getTestCaseIdByName map

Posted: Mon Jun 07, 2010 6:16 pm
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).