It's all about the answers!

Ask a question

Import test cases into QM and link to existing requirements

Jeffrey Behnke (2718) | asked Oct 26 '16, 3:22 p.m.

Is there a excel datasheet / cfg file that will assist with help with importing test cases into QM, but linking to existing requirements in DNG in the datasheet and cfg file? 

We would to configure the linking between test cases and requirements on the datasheet and in cfg file, rather than the 1 to 1 linking with the RQM Excel Add-In. With only a few test cases, the 1 to 1 manual linking would be ok, but with many test cases, this is not efficient and subject to errors.

We have reviewed all of the samples that come with the Excel Add-In, but we do not see one that fits our needs.

Thanks in advance!

2 answers

permanent link
Don Yang (7.7k21108138) | answered Oct 26 '16, 6:39 p.m.
Hi, Jeffrey

Unfortunately this is not yet possible in ExcelImporter.
There was some discussion over this feature and the conclusion from the dev team  is this is a implementable feature.
The dev team provided their proposal into the below RFE work item:

You may want comment on it and urge to get it done earlier.
At this moment, the only option is to mapping the link via GUI manually.

permanent link
Jeffrey Behnke (2718) | answered Oct 27 '16, 1:22 p.m.
 Don - Thank you for the response. One follow-up question: does the REST API allow a call to create a test case to requirement link? 

Don Yang commented Oct 27 '16, 6:35 p.m. | edited Oct 27 '16, 6:35 p.m.

I haven't tried that but if you use API to GET a test case with a requirement link, you will see the link appear in the response xml file. Using the similar way, if you add the requirement link to a test case xml file and then PUT back to the same test case, it should update the link there. It may require a bit of efforts such as a session tag may be required to be added to the Header in order for you to update the test case using a REST Client such as Poster.

Your answer

Register or to post your answer.