if/then conditions in test cases?

Friday, April 15, 2011

Is there a way to create if/then conditionals inside a test case?  For instance, can I do something like the following:

if OS_TYPE == Windows then

     do this test step or part of a test step.

else if OS_TYPE == Mac then

     do something else.

When I execute this test case I would set the OS_TYPE parameter to whatever type of operating system I was running.  SpiraTeam would then only show me the test step that was appropriate.

Is there a way to do this?  Or, is something like this planned for the future?  Thank you.

1 Replies
Monday, April 18, 2011
re: sweather Friday, April 15, 2011
There is not a way to do this currently in the system. However it is something that we've heard mentioned before and it's being tracked as a potential enhancement in our internal instance of SpiraTeam.

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


  • Started: Friday, April 15, 2011
  • Last Reply: Monday, April 18, 2011
  • Replies: 1
  • Views: 1737