I am wondering if it’s possible to use DDT (Data-Driven testing) with dynamic data.
I have an Excel file with many sheets and a lot of values changes between each test. I don’t want to update each tests manually using “Update test data”..
Is there still a way to use DDT with these conditions ?
Yes, try below steps,
Use Excel Application Scope to open the file.
Get all sheet names using Get Workbook Sheets.
Loop through each sheet with For Each.
Read data using Read Range and pass it to the test case.
If you found helpful, feel free to tick as a solution.
Happy Automation