RQM Copy Utility aborts while copying Test Case Result where assigned test script is deleted
I tried to use the RQM Copy Utility tool to copy a Test Case Result which contains some associated test artifacts such as a Test Plan, a Test Case, a Test Script and these test artifacts were copied by the tool as well. But if the Test Script associated with this Test Case Result has been deleted, then the tool aborted while copying this deleted Test Script. A solution is that I can restore the deleted Test Script and then delete it again after copying the Test Case Result and its associated test artifacts successfully. If e.g. the Test Script has been purged and I cannot restore it, then I can copy the Test Case Result and ignore copying this Test Script by using "-ignoreTypes" argument in the tool. But, if I want to copy all Test Case Results with their associated test artifacts and use "-ignoreTypes=testscript" argument, then all the associated Test Scripts won't be copied, even if they are not deleted or purged. That's not what I expected. My question is: Is it possible to copy the test artifacts available and ignore the deleted or purged test artifacts without changing the source code of the tool? |
Accepted answer
The source code (ExecutionResultArtifactHandler.java) only handles a couple of exceptions. For your particular case, I would say modifying the source code to handle this exception is the only way to go.
Jörg Werner selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.