Reverse Link not visible while Linking Test Case to a Requirement
Hi,
I am creating a Validated By link from Test Case to Requirements using :
testCase.addValidatesRequirement(new Link(new URI(requirementURI[1])));
The link is successfully created, but the reverse link from requirement to test Case is not visible.
Is reverse link functionality supported by "addValidatesRequirement()" or its missing from the api ?
Please let me know.
Thanks
Vaibhav
One answer
Hi vaibhav,
What version of RQM ( and also the requirement tool - DNG or DOORS ) you are using?
You should be able to see the reverse links from requirements. But it all depends on if back linking is supported or link discovery is enabled. You can find more about this topic here at - https://www.ibm.com/support/knowledgecenter/en/SSYQBZ_9.6.0/com.ibm.doors.install.doc/topics/c_backlinks_linkdiscovery.html
If Link discovery is enabled then Requirement Do not support back links. Rather links are with QM and it is LDX and LQE which do the job of displaying links from Requirement side. requirement pulls the data from RQM and display it on their side.
Now regarding your question very specific to "addValidatesRequirement()" - look like you are using eclipse lyo. addValedatesRequirement only add the requirement link in to an array. You may have to check what API is really posting the OSLC request to DNG with. If the link creation is successful from RQM side then it normally should have been displayed in RM side for back link as well.
The implementation of how links would be displayed depends on back link vs link discovery.
Please let us know if you have more questions in this regard. Do mention the versions of application you are using ( RQM, DNG ) and if you have LQE and LDX setup as well or not.
Thanks,
Abhishek