Duplicate item references are not allowed: usedKeywords
What does the error message in the Subject line of this topic mean? I have selected a test plan in one project and am trying to Duplicate it to another project. The test plan has test cases and the test cases have manual test scripts. I select the test plan, click on Duplicate, map all of the categories (and a couple of other things that I got prompted for), and then it appears that the copying is about to begin. But, I get the following error message:
Operation Failed:
com.ibm.team.repository.common.TeamRepositoryException: Artifact of type VersionedTestPlan named "Test Plan for ECF Administration Application Sprint 1.4" failed to copy: com.ibm.team.repository.common.TeamRepositoryException: Artifact of type VersionedTestCase named "UC 183.3 Normal Flow of Events Launch Administrative Application" failed to copy: com.ibm.team.repository.common.TeamRepositoryException: Artifact of type VersionedExecutionScript named "Launch Administration Application NF" failed to copy: Validation errors for item: type = ManualExecutionScript, itemId = Duplicate item references are not allowed: usedKeywords
Operation Failed:
com.ibm.team.repository.common.TeamRepositoryException: Artifact of type VersionedTestPlan named "Test Plan for ECF Administration Application Sprint 1.4" failed to copy: com.ibm.team.repository.common.TeamRepositoryException: Artifact of type VersionedTestCase named "UC 183.3 Normal Flow of Events Launch Administrative Application" failed to copy: com.ibm.team.repository.common.TeamRepositoryException: Artifact of type VersionedExecutionScript named "Launch Administration Application NF" failed to copy: Validation errors for item: type = ManualExecutionScript, itemId = Duplicate item references are not allowed: usedKeywords
3 answers
By default, when duplicating a Test Plan, the tool will perform a deep copy of all the test artifacts used in that test plan including the manual test scripts, and the keywords used in those test scripts.
I guess the error message means that one of the keywords already exists in the test project where you are trying to copy this test plan too.
I guess the error message means that one of the keywords already exists in the test project where you are trying to copy this test plan too.
RQM duplication strategy appears to be dependent on where (same vs. different project area) you actually copy the test artefact.
Check http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.rational.test.qm.doc%2Ftopics%2Ft_copy_asset_while_viewing.html&re=1&scope=null
Stephane
Check http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.rational.test.qm.doc%2Ftopics%2Ft_copy_asset_while_viewing.html&re=1&scope=null
Stephane