Example test case: Check mobile bill payment after due date.
For the above test case, different telecom operators have different sets of rules. For example, some allow payment after due date, and some don't.
I am confused on how to write a test case for this situation; the same test case may PASS or FAIL based on the test data.
Do I need to repeat the same test case for different sets of data based on rules?
I have found this on one site "Data-driven testing is taking a test, parameterizing it, and then running that test with varying data". How I can add parameters and results in to an Excel document in which I'll write test cases?
Please suggest a way to prepare test cases for scenarios like this.