Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > Automatic status on test ...

Automatic status on test set RSS Feed

Monday, March 3, 2014

We are running an automated test suite where we have a Spira Team addin, which reports the status of each of the test cases after the execution is complete.
Our solution uses the web services to report the test case statuses; TestRun_RecordAutomated2 more specifically. 

But once the full automation suite has been completed, we want the status of the test set (where the test cases are located) to change appropriately. How is this done?
Right now, all of the test cases have their statuses filled out, but nothing happens with the Test Set status when the execution is complete. 

If possible it would also be nice to be able to set the Test Set status to "In progress" when Jenkins starts the test set. 

We are executing the test cases from an automated environment, triggered by Jenkins. So no direct manipulation from Spira Team, other than that Jenkins is asking which Test Set is to be run. 
Our test cases is programmed in C#.

Kind regards,
John Lunde Flennmark
Consafe Logistics
1 Replies
Sarah T.Sarah T.
re: John Lunde Flennmark on Monday, March 3, 2014
Thursday, March 6, 2014
Hi John Lunde

All you need to do is call the TestSet_Update (...) function to change the status of the overall test set. Just do a TestSet_RetrieveById(...) first to get the current version, then change the status and send it back. the allowed status values are:

public enum TestSetStatus
NotStarted = 1,
InProgress = 2,
Completed = 3,
Blocked = 4,
Deferred = 5


  • Started: 3/3/2014
  • Last Reply: 3/6/2014
  • Replies: 1
  • Views: 581
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.