Command-line parametrized tests

Wednesday, October 3, 2012 1:09:23 PM
Hi,

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.
Thanks


2 Replies
Wednesday, October 3, 2012 3:20:32 PM
Avatar
re: kiloom2 on Wednesday, October 3, 2012 1:09:23 PM
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?

Regards

Adam

Thursday, October 4, 2012 7:05:56 AM
Avatar
re: inflectra.adam on Wednesday, October 3, 2012
From help desk ticket:

C:\SpiraTest\test.bat||value

and it will pass the parameter values.


Now it works.

Statistics
  • Started: Wednesday, October 3, 2012 1:09:23 PM
  • Last Reply: Thursday, October 4, 2012 7:05:56 AM
  • Replies: 2
  • Views: 1673