Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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:

- <testcase>
  <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>

0 votes

Comments

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).

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.



One answer

Permanent link
Hard to tell with the attached XML.  However, it looks like in the third category element, a space is needed before the term attribute.  Also, most element/attribute values are missing.



0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Jul 29 '14, 1:35 p.m.

Question was seen: 8,040 times

Last updated: Jul 30 '14, 7:12 a.m.

Confirmation Cancel Confirm