RPE: Accessing requirement(s) linked to the steps of an RQM Test Case Result
In RQM, we have Test Script steps linked to DOORS requirements (using OSLC). When the associated Test Case is executed, the resulting Test Case Result shows the requirements in the "Validates" column of each step that had a link to a DOORS requirement at the time the Test Case was executed in RQM.
Using RPE, I'd like to create a document that provides details about a single Test Case Result. I'd like to report details about each step that was executed, including any requirement that was linked to that step when the Test Case was executed. The schema from an RQM Test Case Result contains a lot of data about each step, but I don't see where the requirements ("Validates") information is recorded.
From a Test Case Result, how can I configure RPE to get information about requirements that were linked to Test Script steps during the execution?
Thank you,
Brian Kranz
Using RPE, I'd like to create a document that provides details about a single Test Case Result. I'd like to report details about each step that was executed, including any requirement that was linked to that step when the Test Case was executed. The schema from an RQM Test Case Result contains a lot of data about each step, but I don't see where the requirements ("Validates") information is recorded.
From a Test Case Result, how can I configure RPE to get information about requirements that were linked to Test Script steps during the execution?
Thank you,
Brian Kranz
Accepted answer
Hi Brian,
CLM 5.0 includes and enhancement that makes available the requirements linked to an execution result through the new property "executionresult/stepResults/stepResult/requirement". In the meantime, since the test script is referenced in the execution result, it can be used to get the requirements from the test script and the test script steps (see: https://jazz.net/downloads/rational-quality-manager/releases/4.0.6?p=news#TOC_B_a
https://jazz.net/wiki/bin/view/Main/RqmOslcQmV2Api#Test_Script_Step).
Thanks,
Clara
CLM 5.0 includes and enhancement that makes available the requirements linked to an execution result through the new property "executionresult/stepResults/stepResult/requirement". In the meantime, since the test script is referenced in the execution result, it can be used to get the requirements from the test script and the test script steps (see: https://jazz.net/downloads/rational-quality-manager/releases/4.0.6?p=news#TOC_B_a
https://jazz.net/wiki/bin/view/Main/RqmOslcQmV2Api#Test_Script_Step).
Thanks,
Clara
Comments
One other answer
Hi Jamie,
I found this note on the documentation of the REST API: "For performance reasons, including the qm:executionresult/executionresult:stepResults/er:stepResult/er:requirement property also requires the following fields filter: <feedUrl>?fields=feed/entry/content/executionresult/stepResults/stepResult/requirement".
Could this be what is missing? If the note doesn't help, could you please create a new forum question and tag it as related to the REST API? This way, an expert in the RQM REST API should be able to assist you.
Thank you,
Clara F.
I found this note on the documentation of the REST API: "For performance reasons, including the qm:executionresult/executionresult:stepResults/er:stepResult/er:requirement property also requires the following fields filter: <feedUrl>?fields=feed/entry/content/executionresult/stepResults/stepResult/requirement".
Could this be what is missing? If the note doesn't help, could you please create a new forum question and tag it as related to the REST API? This way, an expert in the RQM REST API should be able to assist you.
Thank you,
Clara F.