tc_external_id value returned by getTestCaseIdByName mapping

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

tc_external_id value returned by getTestCaseIdByName mapping

Postby abadve » Sat Feb 06, 2010 4:28 am

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?
abadve
TestLink user
 
Posts: 13
Joined: Wed Feb 18, 2009 1:56 am

Re: tc_external_id value returned by getTestCaseIdByName map

Postby testlinkiscool » Mon Jun 07, 2010 4:31 am

provide the testprojectname and planname
testlinkiscool
Advanced user
 
Posts: 24
Joined: Mon May 24, 2010 2:24 am

Re: tc_external_id value returned by getTestCaseIdByName map

Postby fman » Mon Jun 07, 2010 6:16 pm

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


Return to XML-RPC API



Who is online

Users browsing this forum: No registered users and 2 guests