How do you write data-driven test cases?

How do you write data-driven test cases?

Every test case, on the other hand, may be split down into eight basic steps. Step 1: The first step is to identify the test case. Step 2: Describe the test. Step3: Assumptions and Pre-Conditions are the third step. Step 4: Analyze the data. Step 5: Actions to be taken. Step 6: Anticipated Outcome Step 7: The Actual Result as well as the Post-Conditions Step 8: Success or failure.