It's all about the answers!

Ask a question

How to query custom RQM test suite section with RPE?


Joe Gariano (8813137) | asked Aug 26 '13, 8:37 p.m.
edited Aug 26 '13, 8:39 p.m.
We're using RQM 4.0.2.  We've added a custom section to one of our test suites called "Test Suite Objective".  We can see that section show up in the XML when we query the feed of test suites using a web browser.  The snippet of XML that captures the information we want to query is under feed/entry/content, and it looks like this:

- <dynamicSection_1377557008954 xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" extensionDisplayName="Test Suite Objective">
  ... the rich text content inside section ...
  </dynamicSection_1377557008954>

However, neither of the QM schemas we're using in RPE allow us to access a field called "dynamicSection".  We've tried both the feed.xsd and qm.xsd schemas.

Should we be using a different schema (i.e. something other than the feed.xsd or qm.xsd)?  Or is there something within the feed.xsd or qm.xsd schema that will allow us to get at the dynamicSection?

Thanks,
Joe

Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Aug 27 '13, 7:53 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The element name is actually dynamicsection_1377557008954.

Custom sections can be included in RPE documents if those sections are in a template.  That is, sections that are only attached to specific instances of testplans/testcases won't be included in the XML schema (qm.xsd).

Note, custom sections that are type "GRID" will not be included in the schema because they are not stored as XHTML (stored as JSON).  For more information, see REST API : provide xhtml for grid sections instead of JSON (20459).
Joe Gariano selected this answer as the correct answer

Comments
Joe Gariano commented Aug 27 '13, 9:08 p.m.

Ok, makes sense, thanks for the answer!

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.