Questions about importing test case and test scripts
I have tried to import test cases from XML file. I am wondering if there is a tag to let me associate the test case to a test plan. Right now, I have to add the existing test cases in the test plan after I completed the importing.
Also, I have a lot of manual test scripts need to import to my test plan. However, I don't see the option to import manual test scripts from XML file. Could someone let me know if there is an easy way to import the test scripts? My current test scripts are created in lotus symphony spreadsheet, and I don't have Excel installed. So the other possible solution of importing test script from Excel doesn't work for me. |
5 answers
Another question...
I actually only had success to import test case from xml file which contains only 1 test case. When I put more test cases in the xml files, import was failed with error message "The uploaded content does not match the XML schema for testcase". I include my xml file here, could anyone please let me know how I should fix this problem? Thanks. <?xml version="1.0"?> <testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/"> <title xmlns="http://purl.org/dc/elements/1.1/">FWKS.50262-211-3</title> <description xmlns="http://purl.org/dc/elements/1.1/">Contributor/Approver view history of restoring to a content version for a category</description> <state xmlns="http://jazz.net/xmlns/alm/v0.1/">Draft</state> <creator xmlns="http://purl.org/dc/elements/1.1/">Jincheng Wang</creator> <owner xmlns="http://jazz.net/xmlns/alm/v0.1/">Jincheng Wang</owner> <weight>1</weight> <category term="Component" value="Workspace"/> <category term="Milestone" value="Unassigned"/> <category term="Test Case Type" value="Functional Test"/> <category term="User Story" value="50262"/> <category term="EPIC" value="39427"/> </testcase> <testcase xmlns="http://jazz.net/xmlns/alm/qm/v0.1/"> <title xmlns="http://purl.org/dc/elements/1.1/">FWKS.50262-211-4</title> <description xmlns="http://purl.org/dc/elements/1.1/">Contributor/Approver view history of restoring to a content version for a product/kit/bundle</description> <state xmlns="http://jazz.net/xmlns/alm/v0.1/">Draft</state> <creator xmlns="http://purl.org/dc/elements/1.1/">Jincheng Wang</creator> <owner xmlns="http://jazz.net/xmlns/alm/v0.1/">Jincheng Wang</owner> <weight>1</weight> <category term="Component" value="Workspace"/> <category term="Milestone" value="Unassigned"/> <category term="Test Case Type" value="Functional Test"/> <category term="User Story" value="50262"/> <category term="EPIC" value="39427"/> </testcase> |
I have tried to import test cases from XML file. I am wondering if there is a tag to let me associate the test case to a test plan. Right now, I have to add the existing test cases in the test plan after I completed the importing. See https://jazz.net/forums/viewtopic.php?p=65263. Also, I have a lot of manual test scripts need to import to my test plan. However, I don't see the option to import manual test scripts from XML file. Could someone let me know if there is an easy way to import the test scripts? My current test scripts are created in lotus symphony spreadsheet, and I don't have Excel installed. So the other possible solution of importing test script from Excel doesn't work for me. Lotus Symphony and importing XML test scripts from the RQM UI is currently not supported. You would have to convert the content to XML following the RQM XML schema (https://jazz.net/wiki/bin/view/Main/RqmApi#Detailed_Schema_Documentation) and use the RQM Reportable REST API (https://jazz.net/wiki/bin/view/Main/RqmApi) to create the test scripts (POST/PUT request). |
Another question... You can only PUT/POST one test resource per request (see https://jazz.net/wiki/bin/view/Main/RqmApi#Usage_Basics). |
Thanks Paul for answering these questions. I am wondering if RQM has plan to develop the function of importing multiple test cases and test scripts through the UI? I believe that this will benefit a lot of users because some users like to plan/draft the manual test cases and scripts offline in spreadsheets, and then import them to RQM test plan.
|
The solution is to use the RQM Excel/Word Importer (https://jazz.net/wiki/bin/view/Main/RQMExcelWordImporter). There is an open enhancement for expanding support outside of Microsoft Office (see https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/36911).
|
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.