Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > SpiraTeam Issues & Qu... > Test Case Execution Restr...
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!
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
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!
I would log a support ticket for this.
RegardsDavid
This is noted, thank you. Will wait for new details.
You likely need to modify the backend logic (controller or REST API endpoint) that handles Test Case execution
And if you have any questions, please email or call us at +1 (202) 558-6885