Import Test Plan with Test cases using xml
![]()
Hello Team,
I trying to import the Test Plan with Test Case through xml using RQMExcelImporter. content of my cfg file is as below: testplan.dc:title=C1 testplan.Section("myns:com.ibm.rqm.planning.editor.section.planBusinessObjectives","RQM-KEY-TP-BUSS-OBJ-TITLE")=C2 testplan.Section("myns:com.ibm.rqm.process.web.entryCriteria","RQM-KEY-PROC-ENTRY-CRITERIA-TITLE")=C3 testplan.Section("myns:com.ibm.rqm.process.web.exitCriteria","RQM-KEY-PROC-EXIT-CRITERIA-TITLE")=C4 testplan.XLSLink=testcase testcase.XLSStartRow=7 testcase.dc:title=B testcase.dc:description=E testcase.jzalm:owner=C testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCaseDesign","RQM-KEY-TC-DESIGN-TITLE")=F testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePreCondition","RQM-KEY-TC-PRE-COND-TITLE")=K testcase.Section("myns:com.ibm.rqm.planning.editor.section.testCasePostCondition","RQM-KEY-TC-POST-COND-TITLE")=L After i export to file , i can see this in my xml file <?xml version="1.0" encoding="utf-8"?> <testplan xmlns="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:jzalm="http://jazz.net/xmlns/alm/v0.1/" xmlns:alm="http://jazz.net/xmlns/alm/v0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:myns="http://mydomain.net/some/custom/namespace/v0.1/" xmlns:ts="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:er="http://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:vg="http://schema.ibm.com/vega/2008/" xmlns:rs="http://jazz.net/xmlns/alm/qm/remotescript/v0.1/" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:x="urn:schemas-microsoft-com:office:excel"> <myns:com.ibm.rqm.process.web.exitCriteria extensionDisplayName="RQM-KEY-PROC-EXIT-CRITERIA-TITLE">No significant test failures No visible flaws</myns:com.ibm.rqm.process.web.exitCriteria> <dc:title>Test Plan_001</dc:title> <myns:com.ibm.rqm.planning.editor.section.planBusinessObjectives extensionDisplayName="RQM-KEY-TP-BUSS-OBJ-TITLE">Ensure that the big hammer has all the functionality expected by out clients</myns:com.ibm.rqm.planning.editor.section.planBusinessObjectives> <myns:com.ibm.rqm.process.web.entryCriteria extensionDisplayName="RQM-KEY-PROC-ENTRY-CRITERIA-TITLE">Functional release definition approved Product plan in approval phase</myns:com.ibm.rqm.process.web.entryCriteria> <testcase href="../testcase/TestPlan_with_TestCases_001_Acme_Hammers_1.xml"/> </testplan> After i import of xml file i can't see the test case inside test plan . I tried the same through Export to repository it is working. Please help me with this. Regards, Firoz Khan. |
One answer
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.