Command-line parametrized tests

Wednesday, October 3, 2012

I have a batch script, which accepts parameters and calculates if test is passed or not.
I added parameter named param in Edit parameters menu.
I have string "C:\SpiraTest\test.bat|${param}" for Filename field.
But parameters are not passed to the script. I can see this from execution status description.
Please advise how can I write command correctly to make passing parameters possible.

2 Replies
Wednesday, October 3, 2012
re: kiloom2 Wednesday, October 3, 2012
Hi Max

In the automated test set, are you passing values through to the test case in question?

I.e. if you click on the Test Set and look in the Test Cases tab of the test set, when you right-click on one of the test cases and choose "Edit Parameters" are any values provided?



Thursday, October 4, 2012
re: inflectra.david Wednesday, October 3, 2012
From help desk ticket:


and it will pass the parameter values.

Now it works.

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: Wednesday, October 3, 2012
  • Last Reply: Thursday, October 4, 2012
  • Replies: 2
  • Views: 3120