Why do I get the "Required property 'name' is missing" error when importating an XML file?
I am trying to import some test cases and I keep getting an error that says "Required property 'name' is missing. Does any one have any idea what this means?
I used the following XML schema (based on this: https://jazz.net/products/rational-quality-manager/api-doc-2.0/api-files/schemas/qm_xsd/elements/testcase_1.html) and even went as a far as to changing the "title" tags to "name" with no luck:
<title>""title>
<description>""description>
<updated>""updated>
<state>""state>
<creator>""creator>
<owner>""owner>
<regressionTest>""regressionTest>
<weight>""weight>
<category term="Category" value="" />
<category term="Function" value="" />
<categoryterm="Theme" value="" />
<testcase>
<testcase>
Comments
Donald Nong
Jul 29 '14, 11:07 p.m.Maybe the original XML content is just messed up when posted, but it seems that the attributes don't have namespace specified. You may try to use the XML content of an existing test case as a template, and make sure the XML content is correctly formatted (even IE can do a fine job on this).
Paul Slauenwhite
FORUM MODERATOR / JAZZ DEVELOPER Jul 30 '14, 7:12 a.m.The missing namespace prefixes would not cause this error. It's caused by the missing 'name' element/attribute.
I don't recognize the regressionTest element (see https://jazz.net/products/rational-quality-manager/api-doc-5.0/schemas/qm_xsd/elements/testcase.html).
I would suggest following https://jazz.net/wiki/bin/view/Main/RqmApi#ScenarioCreateTip.
If the problem continues, open a RQM defect and attached the testcase XML.