RPE traversal of DOORS 9.6 requirements fron test cases in RQM
I am an engineer trying to figure out how to create a report that traverses test cases and write out requirements those test cases address. I am not an IT person so I am not following the post that addresses this question. I assume that once I have the test case I can use the /requirement element of the test case but I don't know how to traverse into DOORS. I assume I need to use a data source configuration in RPE but I don't know how to set up the dynamic association. Can anyone help me understand how to do that (assuming I am a nubie to Java and rest interfacing?). Thank you.
2 answers
Louisa,
I see you need help related to configuring DOORS as requirement provider for RQM. You can follow Configuring RQM and Rational DOORS. This will enable you to link DOORS requirement/requirement collection with RQM test case/test plan.
For RQM and RPE integration overview you can refer https://jazz.net/library/article/1137
Best regards,
Mehul
Comments
Mehul,
Thank you for your answer. Actually, I am not trying to configure RQM or DOORS but traverse from the RQM schema in RPE to linked DOORS 9.6 requirements to write out test descriptions along with the requirements they address. I understand I have to use a JavaScript to translate the RQM link to DOORS but I can't find how to write that script. Can anyone help with that?
Thank you.
Louisa
Hi Louisa,
If you want to traverse from RQM testcases to DOORS requirements, you can take @href from testcase/requirement query and use href.substring(). This should be set as the Module ID for the dynamically configured data source (of type DOORS).
Can you check what is the value returned for testcase/requirement/href? Based on that, we can use the script expression (JavaScript).
Regards,
Prasad
If you want to traverse from RQM testcases to DOORS requirements, you can take @href from testcase/requirement query and use href.substring(). This should be set as the Module ID for the dynamically configured data source (of type DOORS).
Can you check what is the value returned for testcase/requirement/href? Based on that, we can use the script expression (JavaScript).
Regards,
Prasad
Comments
Prasad,
Thank you... this is getting closer to the answer I'm looking for. Would you have an example of such a JavaScript?
Currently I do not have RQM instance with associated requirements in DOORS (and hence I wanted to know value returned for testcase/requirement/href).
Can you try the following script?
var index = href.length - 8
href.substring(index)
Please let me know if you need the sample template.