RQM import function from xml file
Hi all, I am trying to import a test script and test case into RQM from the xml file generated through excel. The code I am using is below which correctly creates the test case.xml and test script.xml My question is how is the link automatically created in RQM? I can import both the test case (Construction -> Import Test Case) and test script (Construction -> Import Test Script), but when I check, there is no mapping between the two?
Any help would be gratefully appreciated.
testscript.XLSStartRow=2
testscript.XLSArtifactID=A
testscript.XLSDelimeter=\n
testcase.dc:title=testscript.dc:title
|
One answer
Peter,
if you want export the test artifacts from Excel to RQM, you can use Export to repository directly. and if you want to export manually from the RQM UI, you need to upload the referenced artifacts first, else the link will miss. i.e. in you case you create test case and test script assume testcase xml is : <testcase> <title> case1 </title> <testscript href="../testscript/testscript1" /> </testcase> and testscript xml is <testscript> <title>testscript1</title> <id>testscript1</id> </testscript> we need to upload the testscript first then testcase as testcase have a reference to testscript. if you upload testcase first the testcase xml will become. <testcase> <title> case1 </title> </testcase> ---> <testscript href="../testscript/testscript1" /> will be lost. |
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.
Comments
Is this XML generated directly with Excel (Save as...) or with the Microsoft Excel and Word to Rational Quality Manager Import Utility?
Peter,
Hi thanks for the responses,
The XML is created using the .cfg file and the import add in in excel.
I've only tried so far to import the files via the import options within RQM. Is it the correct process to first do this through Construction -> Import Test Case and then Construction -> Import Test Script?
(And yes - I am trying to write a cfg from scratch using the sample files :-) )
Using the samples provided by the tool as the basis for your specific needs is always a good approach; it will provide a sound baseline from which you can build from.