It's all about the answers!

Ask a question

Extracting Requirement data from DWA using RPE does not return anything if the requirement has any links either test case or requirement in another module


Mallikarjuna Ande (3518) | asked Oct 29 '19, 11:39 a.m.

I was trying to extract the requirement text from DWA, but not returning any data if the requirement has any links. I have used the DWAexample schema download from forum.


Comments
Mallikarjuna Ande commented Oct 29 '19, 4:39 p.m.

Requirements without links were published, but with links are not published from DWA, it was just a blank, how can we extract the requirement text that has links from DWA ?

One answer



permanent link
Mallikarjuna Ande (3518) | answered Nov 18 '19, 1:55 p.m.

 When requirement has linked test cases, the RDF schema generated by RPE is different than to the requirements without test case links, you would need to update the main.xsd of DWASchemaSamle to below and save the main.xsd, re-configure the data source and run th temlate, i used the same, it worked for me

 
 <xs:element name="RDF">
    <xs:complexType>
      <xs:sequence>
<xs:element name="Statement">
<xs:complexType>
<xs:sequence>
<xs:element name="subject">
<xs:complexType>
<xs:sequence>
<xs:element ref="oslc_rm:Requirement"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element ref="oslc_rm:Requirement"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.