<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Test Steps are not fetched when retrieving testcases by testset (Thread)</title><description>Hi,    I am trying to fetch the test cases associated with a particular test set id. For this purpose I am using the method of web service      RemoteTestCase[] testCases = spira.TestCase_RetrieveByTestSetId(int testSetId)     Everything works fine, I am getting all the test cases associated with the test set. But none of test cases have test steps. All of them are showing test steps as null. Test steps should should also be fetched as part of the test case.Just wanted to know why this method behaving like this? Is there any other way by which I can retrieve l all the test cases associated with a test set and also get the the test steps.     Thanks,  Abhijit Banerjee </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/spiratest/issues-questions/1583.aspx</link><item><guid isPermaLink="false">threadId=1583</guid><author>Abhijit Banerjee (abanerjee@onenetwork.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">api</category><title>Test Steps are not fetched when retrieving testcases by testset</title><description>Hi,    I am trying to fetch the test cases associated with a particular test set id. For this purpose I am using the method of web service      RemoteTestCase[] testCases = spira.TestCase_RetrieveByTestSetId(int testSetId)     Everything works fine, I am getting all the test cases associated with the test set. But none of test cases have test steps. All of them are showing test steps as null. Test steps should should also be fetched as part of the test case.Just wanted to know why this method behaving like this? Is there any other way by which I can retrieve l all the test cases associated with a test set and also get the the test steps.     Thanks,  Abhijit Banerjee </description><pubDate>Fri, 02 Dec 2016 10:57:57 -0500</pubDate><a10:updated>2016-12-08T18:22:48-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1583.aspx</link></item><item><guid isPermaLink="false">messageId=2842</guid><author>Jim R (donotreply5@kronodesk.net)</author><title>&#xD;
Hi Abhijit,    That is correct. You need to use the separate function  TestCase_RetrieveById(...) </title><description>&#xD;
Hi Abhijit,    That is correct. You need to use the separate function  TestCase_RetrieveById(...)  for each individual test case to get their steps.     So you need to loop for each test case in the set and then call the function above. We do that for performance reasons.     Regards     Jim </description><pubDate>Thu, 08 Dec 2016 18:22:48 -0500</pubDate><a10:updated>2016-12-08T18:22:48-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1583.aspx#reply2842</link></item></channel></rss>