Here is an example of a script that creates a dynamic test case using HTML, CSS, and JavaScript that is designed similar to an Excel file:
This script creates a table with four columns: "Test Case", "Input", "Expected Output", and "Actions". It also includes a button that, when clicked, adds a new row to the table with input fields for test case, input, and expected output, as well as "Delete" and "Save" buttons. The "Delete" button, when clicked, will delete the row containing the button. The "Save
Live Preview: https://fagunti.github.io/Test-Case-Maker/