RQM Word Importer: Import created new test case instead of updating existing one
-
It created a new test, 59, instead of updating the existing test 57.
- It added two new sections to my test case "DOCTableStartRow" and "ID".
I need to be able to UPDATE test cases. I don't expect us to be creating NEW test cases in this fashion; just doing UPDATES.
Is there something special that needs to be done?
2 answers
Excel/WordImporter is not used to update the existing test artifacts(not supported). If test case 57 is also exported via importer and external ID is set in config file, then using the same external id you should be able to export into the same test case 57 with the specified attributes in the config file. You may consider this as "update" but it actually works as overwrite: that is, if you don't want to change any previously created(via importer as well) attribute, you still need to specify those attributes in the config file as well as those you intend to change.
Thanks
Comments
Hi Don,
A PMR was opened for this. In this case, Karen is using the Word importer and it looks like XLSArtifactID is not supported (on supported for Excel import). She is using "testcase.ID=Table(2).C2" in her config where table 2 C2 is 57. This is not going to create a test case with web ID 57, there is no way to that that I know of. If she could use XLSArtifactID as I think you are saying with "If test case 57 is also exported via importer and external ID is set in config file" then she could update test case 57 but there is no way to specify the web ID of an artifact. Do you agree with that?
Thanks,
Brett
Hi, Brett
I am not aware that this is for Word Importer and not sure if external ID is only supported in ExcelImporter. if TestCase 57 was created via importer, we may use REST API to find out if there is an ID(different from Web id) created or not(in Excel Importer, an external id will be created by the importer even though XLSArtifactID is not used. But even though we have the id, you are right that it could be no way to use that id to update the existing one, I don't know if there is any syntax to do that.
Thanks