Sending parameters to test cases from Test Suites

I know you can group test cases into test suites. But, is there any way to send parameter values to them? (A lot of my test cases contain variables, that control what happens in their setup and teardown methods. Also, I have a test case that needs to be run once per the three possible values of one of its member variables. Basically, something like, assuming test case “Add Discount”, and with member variable discountType that has three valid values ITEM,EMPLOYEE,TICKET, and I want to call the test case once per each one of those. )

There are many ways you could handle this but to keep it real simple, why not just write a generic method in your test case which takes discountType and call it three times?

1 Like

I ended up doing that.

Gld you got it working (and thanks for the BA)