<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: Mapping between RemoteTestSet and RemoteTestSetFolder (Thread)</title><description>&#xD;
Hi,&#xD;
&#xD;
    I want to display all the test sets along with their folder hierarchy in sorted order in a excel sheet. I am using http://api.inflectra.com/Spira/Services/v5_0/SoapService.aspx for fetching the data.   There are two ways to do this.  &#xD;
&#xD;
	 Approach 1  :  By&#xD;
fetching testset folders , and then looping through them and check if testsets&#xD;
exists or not and print them If exists along with the folder. &#xD;
&#xD;
	 Approach 2  :  By&#xD;
fetching testsets and then looping through each one of them and print them&#xD;
along with their container folders. &#xD;
&#xD;
&#xD;
&#xD;
  Drawbacks :   &#xD;
&#xD;
&#xD;
Approach 1  :  Testsets can exist independently. So if we loop&#xD;
through only folders then we won’t be able to print those independent testsets. &#xD;
&#xD;
                  Approach 2  :  If we loop through the testsets and then check if&#xD;
testset can exist in a folder. Then print the folder first and then testsets&#xD;
associated. In this way                                          we&#xD;
won’t be able to print the folders which don’t have any testsets.     &#xD;
&#xD;
   Any help would be highly appreciated.  Thanks,  Abhijit   </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/1579.aspx</link><item><guid isPermaLink="false">threadId=1579</guid><author>Abhijit Banerjee (abanerjee@onenetwork.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">api</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> soap</category><title>Mapping between RemoteTestSet and RemoteTestSetFolder</title><description>&#xD;
Hi,&#xD;
&#xD;
    I want to display all the test sets along with their folder hierarchy in sorted order in a excel sheet. I am using http://api.inflectra.com/Spira/Services/v5_0/SoapService.aspx for fetching the data.   There are two ways to do this.  &#xD;
&#xD;
	 Approach 1  :  By&#xD;
fetching testset folders , and then looping through them and check if testsets&#xD;
exists or not and print them If exists along with the folder. &#xD;
&#xD;
	 Approach 2  :  By&#xD;
fetching testsets and then looping through each one of them and print them&#xD;
along with their container folders. &#xD;
&#xD;
&#xD;
&#xD;
  Drawbacks :   &#xD;
&#xD;
&#xD;
Approach 1  :  Testsets can exist independently. So if we loop&#xD;
through only folders then we won’t be able to print those independent testsets. &#xD;
&#xD;
                  Approach 2  :  If we loop through the testsets and then check if&#xD;
testset can exist in a folder. Then print the folder first and then testsets&#xD;
associated. In this way                                          we&#xD;
won’t be able to print the folders which don’t have any testsets.     &#xD;
&#xD;
   Any help would be highly appreciated.  Thanks,  Abhijit   </description><pubDate>Mon, 21 Nov 2016 12:35:56 -0500</pubDate><a10:updated>2016-11-21T17:46:39-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1579.aspx</link></item><item><guid isPermaLink="false">messageId=2826</guid><author>Jim R (donotreply5@kronodesk.net)</author><title>&#xD;
Hi Abhijit    If you use Approach 1, you can then query the test sets with a NULL folder Id to get</title><description>&#xD;
Hi Abhijit    If you use Approach 1, you can then query the test sets with a NULL folder Id to get the list of test sets that are in the root folder (i.e. not in a folder).     If you use Approach 2, then you'd need to separately query the folders beforehand to find those that are never used and print those.     Regards     Jim </description><pubDate>Mon, 21 Nov 2016 17:46:39 -0500</pubDate><a10:updated>2016-11-21T17:46:39-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1579.aspx#reply2826</link></item></channel></rss>