<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: How to update the Test Step status using the SpiraImportExport webservice reference (Thread)</title><description>&#xD;
//to retrieve list of test cases                 RemoteTestCase[] rtcList = spiraExport.TestCase_RetrieveByTestSetId(automatedTestRun.TestSetId.Value);                 int? a = rtcList[0].TestCaseId;                 int b = a.Value;                 //RemoteTestStep[] rtst =  rtcList[0].TestSteps ;                 try                 {                     RemoteTestCase remoteTestCase = spiraExport.TestCase_RetrieveById(b);                     RemoteTestStep[] remoteTestSteps = remoteTestCase.TestSteps;                     Thread.Sleep(1000);                     //RemoteTestStep [] rtStep = Remote                                              //int a = rtst[0].TestStepId.Value;                 }                 catch (Exception)                 {                      Thread.Sleep(1000);                 } &#xD;
&#xD;
</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/441.aspx</link><item><guid isPermaLink="false">threadId=441</guid><author>Satyabrata Saha (satyabrata.saha@synechron.com)</author><title>How to update the Test Step status using the SpiraImportExport webservice reference</title><description>&#xD;
//to retrieve list of test cases                 RemoteTestCase[] rtcList = spiraExport.TestCase_RetrieveByTestSetId(automatedTestRun.TestSetId.Value);                 int? a = rtcList[0].TestCaseId;                 int b = a.Value;                 //RemoteTestStep[] rtst =  rtcList[0].TestSteps ;                 try                 {                     RemoteTestCase remoteTestCase = spiraExport.TestCase_RetrieveById(b);                     RemoteTestStep[] remoteTestSteps = remoteTestCase.TestSteps;                     Thread.Sleep(1000);                     //RemoteTestStep [] rtStep = Remote                                              //int a = rtst[0].TestStepId.Value;                 }                 catch (Exception)                 {                      Thread.Sleep(1000);                 } &#xD;
&#xD;
</description><pubDate>Fri, 30 Nov 2012 05:18:20 -0500</pubDate><a10:updated>2012-11-30T05:20:15-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/441.aspx</link></item><item><guid isPermaLink="false">messageId=830</guid><author>Satyabrata Saha (satyabrata.saha@synechron.com)</author><title>&#xD;
&#xD;
&#xD;
  Hi SpiraTest Support, &#xD;
&#xD;
I would like to know, how can I update the status of a Test Step i</title><description>&#xD;
&#xD;
&#xD;
  Hi SpiraTest Support, &#xD;
&#xD;
I would like to know, how can I update the status of a Test Step inside a Test&#xD;
Case using the webserice reference. &#xD;
&#xD;
Currently I am able to get the list of test steps in a test case and its&#xD;
associated atributes like Test StepID , Test StepDescription ,etc. &#xD;
&#xD;
//to retrieve list of test cases &#xD;
&#xD;
RemoteTestCase[] rtcList =&#xD;
spiraExport.TestCase_RetrieveByTestSetId(automatedTestRun.TestSetId.Value); &#xD;
&#xD;
int? a = rtcList[0].TestCaseId; &#xD;
&#xD;
int b = a.Value; &#xD;
&#xD;
//RemoteTestStep[] rtst =  rtcList[0].TestSteps ; &#xD;
&#xD;
try &#xD;
&#xD;
{ &#xD;
&#xD;
RemoteTestCase remoteTestCase = spiraExport.TestCase_RetrieveById(b); &#xD;
&#xD;
RemoteTestStep[] remoteTestSteps = remoteTestCase.TestSteps; &#xD;
&#xD;
} &#xD;
&#xD;
catch (Exception) &#xD;
&#xD;
{ &#xD;
&#xD;
                   &#xD;
throw; &#xD;
&#xD;
} &#xD;
&#xD;
Any help is appreciated. &#xD;
&#xD;
Thanks, &#xD;
Satyabrata Saha  &#xD;
&#xD;
&#xD;
&#xD;
</description><pubDate>Fri, 30 Nov 2012 05:20:14 -0500</pubDate><a10:updated>2012-11-30T05:20:14-05:00</a10:updated><link>/Support/Forum/spirateam/issues-questions/441.aspx#reply830</link></item></channel></rss>