Test Case Execution Restrictions and Draft Status Modifications

Wednesday, May 21, 2025
Avatar

Hi,

I've noticed that any user can execute test cases listed or added in the Test Set as long as they've checked a checkbox. However, the Test Set Execute Button at the top behaves differently. Can we modify it so that only the owner of a Test Case can execute it? Additionally, can we ensure that test cases in Draft Status cannot be executed, regardless of the user's role? 

I already tried to modify the Test Case Workflow, but it seems to not work at all. 

 

Thank you! 

5 Replies
Thursday, May 22, 2025
Avatar
re: Larsnjewel Wednesday, May 21, 2025

Hi Larsnjewel,

You can restrict when a test case can be executed (in terms of which status) and prevent people executing test cases they are not assigned. Here's some information on how to do it:

Configuring SpiraTeam for Testing in Validated Environments (Part 3)

Regards

David

Friday, May 23, 2025
Avatar
re: inflectra.david Thursday, May 22, 2025

Hi David,

Thank you! I’ve now fixed the roles in the workflow, and everything is working as expected based on the link you shared.

However, I’m still facing an issue I can’t quite resolve. It’s related to the two Execute buttons in the Test Set. The main Execute button seems to correctly follow the workflow configuration. But the Execute Tests button within the Test Cases section of the Test Set appears to bypass the workflow entirely—it executes all test cases regardless of the product flow settings.

Do you know if this is expected behavior, or is there a way to align both buttons with the same workflow restrictions?

Thanks again for your help!

Saturday, May 24, 2025
Avatar
re: Larsnjewel Friday, May 23, 2025

Hi Larsnjewel,

I would log a support ticket for this.

Regards
David

Monday, May 26, 2025
Avatar
re: inflectra.david Saturday, May 24, 2025

Hi David,

 

This is noted, thank you. Will wait for new details. 

Tuesday, June 3, 2025
Avatar
re: Larsnjewel Wednesday, May 21, 2025

You likely need to modify the backend logic (controller or REST API endpoint) that handles Test Case execution

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Wednesday, May 21, 2025
  • Last Reply: Tuesday, June 3, 2025
  • Replies: 5
  • Views: 158