In Robot Framework, how to perform data-driven testing by creating a separate test case for each line of data in a text file?
问题 In Robot Framework, we can use Test Template to perform data-driven testing. However, in this method, the number of test cases are fixed. We are not able to add new test cases on-the-fly. Let's say I have a CSV text file, data.txt : data-1a, data-1b, data-1c data-2a, data-2b, data-2c .... data-Na, data-Nb, data-Nc The number of lines in the CSV file will change from time to time. In my Robot Framework test case file, I will read this CSV file. Let's say there are N lines of data in that file,