Thread

Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > How to list top-level Tes...

How to list top-level Test Case folders for a project using WebService? RSS Feed

Tuesday, September 11, 2012
Question #1:
Is it possible to list only the top-level TestCase folders of a project using WebService?

Question #2:
How can I filter a bool property using the WebService?
I'd like to fiter the Folder property of TestCase, and also the Iteration property of Release.
2 Replies
Adam SAdam S
re: Dániel Várhegyi on Tuesday, September 11, 2012
Wednesday, September 12, 2012

Hi Daniel

1) You would need to use the TestCase_Retrieve() function and then once you get the results, filter the data to only include items where IndentLevel field has a length of 3 and the Folder flag is true:

remoteTestCase.IndentLevel.Length = 3 && remoteTestCase.Folder == true

2) Yes you can filter the Iteration field of release by using a RemoteFilter where StringValue = "Y" and PropertyName = "IterationYn"

Regards

Adam

Dániel VárhegyiDániel Várhegyi
re: Adam S on Wednesday, September 12, 2012
Wednesday, September 12, 2012
Thanks!

And can I filter to the Folder property of the TestCase?

My problem is that we have too many TestCases and I don't want to query all of them..
Tagged
Statistics
  • Started: 9/11/2012
  • Last Reply: 9/12/2012
  • Replies: 2
  • Views: 409
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.