It's all about the answers!

Ask a question

Why do I get the "Required property 'name' is missing" error when importating an XML file?

Shai Millen-EL (877) | asked Jul 29 '14, 1:35 p.m.
edited Jul 29 '14, 1:42 p.m.

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: and even went as a far as to changing the "title" tags to "name" with no luck:

- <testcase>
  <category term="Category" value="" />
  <category term="Function" value="" />
  <categoryterm="Theme" value="" />

Donald Nong commented 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 commented Jul 30 '14, 7:11 a.m. | edited 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

I would suggest following

If the problem continues, open a RQM defect and attached the testcase XML.

One answer

permanent link
Paul Slauenwhite (8.4k12) | answered Jul 29 '14, 5:55 p.m.
edited Jul 29 '14, 7:36 p.m.
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.

Your answer

Register or to post your answer.