Delete a button for each one that I make

I am currently using datadriven with an excel sheet to test a form that eventually makes a button.

I have 2 test cases, 1 for creating the button and 1 for deleting the button. I have put them both in a test suite. I use the datadriven part to name the buttons. Now my problem is that I want to delete one button for each button that I create. How could I achieve this?

same as you create them. provided each one has a different name, reiterating on the excel with the delete case should just work


Thanks, that was a bit silly of me. I thought you needed to bind data for datadriven testing to work.