Using the Importer with existing artifacts
Hello
I have been using the Excel/Word import tools for some time now and they are great for creating a whole new heirarchy of test assets. But how about if I already have an existing test plan in my project and I want to import a bunch of test cases from Excel and attach them to this plan.
Or perhaps I have an existing Test Case and I want to import some TER's (and associated ER's) and attach them to the Test Case simultaneously.
Is this something I can do, or am I barking up the wrong tree?
Thanks
Max
I have been using the Excel/Word import tools for some time now and they are great for creating a whole new heirarchy of test assets. But how about if I already have an existing test plan in my project and I want to import a bunch of test cases from Excel and attach them to this plan.
Or perhaps I have an existing Test Case and I want to import some TER's (and associated ER's) and attach them to the Test Case simultaneously.
Is this something I can do, or am I barking up the wrong tree?
Thanks
Max
2 answers
Hi Max,
you have to use the URLUtility and update the parent object with the reference to the childs you have just imported.
To use the URLUtility see here:https://jazz.net/wiki/bin/view/Main/RQMURLUtility
It works with the XML files that you can generate with the excelImportTool, or better use the XML files that you can GET from RQM.
For example:
1. Import some TCs with the EXCEL file import
2. Get the ID of the imported TCs
3. GET with the URLUtility the XML of the Testplan you want to make parent of them
4. Update the Testplan XML with the references to the new childs
5. PUT the new XML in RQM with the URLUtility
Ciao!
Matteo
you have to use the URLUtility and update the parent object with the reference to the childs you have just imported.
To use the URLUtility see here:https://jazz.net/wiki/bin/view/Main/RQMURLUtility
It works with the XML files that you can generate with the excelImportTool, or better use the XML files that you can GET from RQM.
For example:
1. Import some TCs with the EXCEL file import
2. Get the ID of the imported TCs
3. GET with the URLUtility the XML of the Testplan you want to make parent of them
4. Update the Testplan XML with the references to the new childs
5. PUT the new XML in RQM with the URLUtility
Ciao!
Matteo