<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: How can copy Test Case with test steps using  Spira v4.x SOAP web services (Thread)</title><description>&#xD;
I use Spira v4.x SOAP to copy test case to another folder .  But new test case that is copied without test steps  How can copy Test Case with test steps using  Spira v4.x SOAP web services     this method i'm using:     int copyTestFolderId = 368549;                          if (originalTestCaseId == 343652) {   			  remoteTestCase.setTestCaseId(null);  // 			  remoteTestCase.setTestSteps(arrayTestStep);   						  listTestStep = remoteTestCase   						 .getTestSteps().getValue().getRemoteTestStep();   				 for (RemoteTestStep testSteps : listTestStep) {   					 System.out.println(testSteps.getTestStepId().getValue());   				 }   						  soap.testCaseCreate(remoteTestCase, copyTestFolderId);                        } </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spirateam/issues-questions/1384.aspx</link><item><guid isPermaLink="false">threadId=1384</guid><author>Ha N Nguyen (nguyenngocha1088@gamil.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">soap</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> api</category><title>How can copy Test Case with test steps using  Spira v4.x SOAP web services</title><description>&#xD;
I use Spira v4.x SOAP to copy test case to another folder .  But new test case that is copied without test steps  How can copy Test Case with test steps using  Spira v4.x SOAP web services     this method i'm using:     int copyTestFolderId = 368549;                          if (originalTestCaseId == 343652) {   			  remoteTestCase.setTestCaseId(null);  // 			  remoteTestCase.setTestSteps(arrayTestStep);   						  listTestStep = remoteTestCase   						 .getTestSteps().getValue().getRemoteTestStep();   				 for (RemoteTestStep testSteps : listTestStep) {   					 System.out.println(testSteps.getTestStepId().getValue());   				 }   						  soap.testCaseCreate(remoteTestCase, copyTestFolderId);                        } </description><pubDate>Tue, 01 Mar 2016 08:13:25 -0500</pubDate><a10:updated>2016-03-02T17:44:16-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/1384.aspx</link></item><item><guid isPermaLink="false">messageId=2528</guid><author>Inflectra Sarah (donotreply6@kronodesk.net)</author><title>&#xD;
Hi Ha&#xD;
&#xD;
    You need to use the      soap.testCaseAddStep  function to add the test steps.       </title><description>&#xD;
Hi Ha&#xD;
&#xD;
    You need to use the      soap.testCaseAddStep  function to add the test steps.         So loop through each step in the test case and then add them.         Regards    Sarah   </description><pubDate>Wed, 02 Mar 2016 17:44:16 -0500</pubDate><a10:updated>2016-03-02T17:44:16-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/1384.aspx#reply2528</link></item></channel></rss>