Extracting Requirement data from DWA using RPE does not return anything within a particular project
I am generating a test report using RPE to extract data from RQM and linked requirements from DWA. This works fine for the majority of projects, but for one particular DOORS project is does not return any requirement data.
Accepted answer
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
Comments
Worked brilliantly, thank you.
yes you can discover the schema from ..\AppData\Local\Temp\RPE\temp folder, .tmp files are created in that folder while running the template.
One other answer
Looks like the structure/schema of data returned by DWA URL https://[server]:[port]/dwa/rm/urn:rational::1-55bb46603d9c55be-0-00032-000bee0 is different and hence RDF/Requirement/primaryText does not print the primary text. Only if the data matches the schema added in the RPE template, the output will be correct.
Comments
Thanks for the response, but I am not sure that this is the issue. Both objects are based on standard DOORS objects and I am not attempting to access any custom attributes. In addition RPE fails for any object within the problem DOORS project.
The only difference in the design of the modules is that one module contains the attribute "Import Log" while the other contains the attribute "Update Log". Both attribute are "Text".
I have taken a copy of the DOORS module into another project. The problem remains for most of the objects, but some objects can now be output. Those that are still a problem appear to be those linked to RQM tests. If I delete the test link, the requirement can be output. But this defeats the object as I am trying to report on requirements linked to tests.