It's all about the answers!

Ask a question

Isi it possible to Import Custom Attributes for Test Case

Corey Jacobs (642239) | asked Mar 25 '13, 8:49 p.m.

I'm trying to import test cases using the Web client with RQM 4.0.  Using the RQMExcelWordImporter tool wouldn't be work, since I don't have Word/Excel and only have Symphony installed on my system.
I have a custom attribute "Test Purpose" created for the Test Case.  I've been able to import test cases that don't have custom attributes defined in the xml file.  Is there a way to specify this custom attribute in my xml file?  I didn't see any documentation for this in the testcase xml schema.

Link I used:

Accepted answer

permanent link
Hao Wan (1.5k35) | answered Mar 27 '13, 10:30 p.m.
edited Mar 27 '13, 10:31 p.m.
Hi Corey,
I attached an XML of test case with custom attributes for you reference

    <?xml version="1.0" encoding="UTF-8"?>
    <ns2:testcase xmlns:ns2="" xmlns:ns1="" xmlns:ns3="" xmlns:ns4="" xmlns:ns5="" xmlns:ns6="" xmlns:ns7="" xmlns:ns8="" xmlns:ns9="" xmlns:ns10="" xmlns:ns11="" xmlns:ns12="" xmlns:ns13="" xmlns:ns14="" xmlns:ns16="" xmlns:ns17="">
    <ns2:projectArea alias="abcqm" href=""/>
    <ns2:stylesheet href=""/>
    <ns3:title>sample test case with custom attributes</ns3:title>
    <ns5:state ns6:resource=""></ns5:state>
    <ns3:creator ns6:resource="">onehao</ns3:creator>
    <ns2:priority ns6:resource="">literal.priority.101</ns2:priority>
    <ns2:category value="Core Functionality" term="Type"/>
    <ns2:category value="User Acceptance Test" term="Test Phase"/>
    <ns2:template href=""/>
    <ns2:customAttribute type="SMALL_STRING">
    <ns2:customAttribute type="SMALL_STRING">

Corey Jacobs selected this answer as the correct answer

Corey Jacobs commented Apr 17 '13, 5:53 p.m.

Hi Hao,

Thanks for the assistance.  I will use this as a guidance. 

Your answer

Register or to post your answer.