DataDriver powered test returns "Test cannot be empty" error

Hi Guys,

Well well… I’ve been seeking a little bit, as it seemed really odd to me.

I reproduced your setup and indeed had the same problem.

@damies13, the added line didn’t help, not much as my own idea that led to not be able to run the test from the .robot file :sweat_smile: don’t know what was I thinking…

Tried to run from the suite, modified Test Cases arguments to Default, UserData has in their examples.

None worked, and I finally remembered the example .csv files they gave, so here’s a working one :

No need to play spot the difference, the twist is .csv file is separated with semicolon “;” instead of comma as in your file.

Default behavior seems to be to use the semicolon, but hopefully you don’t have to search-replace tons of .csv, and just add the dialect modifier and delimiter in the library call :

Library    DataDriver    file=parameters.csv    dialect=UserDefined    delimiter=,

More infos in this part :

Regards.
Charlie

2 Likes