Same test case - Multiple pre-requisits

Wednesday, February 2, 2022
Avatar

On a suggestion from another forum post, im trying to avoid generating a ton of test cases with the same steps, but different data by using parameters and adding the same test case to a test set multiple times, but editing the parameter for each of the test case.

I cant figure out how to insert images here, so let me try to explain an example.

Test case - Move trailer from the yard to a dock door, parameters are trailerID and dockdoor

It works fine adding multiple cases to a test set and changing the parameter, but the parameter is not visible during the test execution and also if I go to Test case -> Test runs, I cannot show the column called parameters, so I get no overview over which cases are related to which parameters.

Are there a way to show parameters during test execution and also a way to get an overview of test runs vs parameters?

2 Replies
Saturday, February 5, 2022
Avatar
re: jhgdkk Wednesday, February 2, 2022

You can actually use Test Run custom properties instead and then set the value of those in the test set.

If you are using parameters, that is fine, you just need to insert the parameter into the text of the test step Description, Expected Result or Sample Data and then it will appear during execution and in the final test run results.

Friday, July 22, 2022
Avatar
re: jhgdkk Wednesday, February 2, 2022

Good afternoon, Jhgdkk!

Just wanted to check in on this post that you wrote back in February.  Were you ever able to find a resolution to scenario of trying to avoid generating a bunch of test case with the same steps, but different data?  I'm facing a similar issue now, and I'm just trying to research the best way of handling this scenario. 

Thanks for any input you may be able to provide!

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, February 2, 2022
  • Last Reply: Friday, July 22, 2022
  • Replies: 2
  • Views: 940