Я нашел этот способ:
Python
def get_lines_from_csv(csv_path):
data = []
with open(csv_path, 'rt') as csvfile:
reader = csv.reader(csvfile, delimiter=';')
for row in reader:
data.append(row)
return data
Robotframework
@{lines} = Get Lines From Csv ${DATAFILE_PATH}
${lines_length} = Get Length ${lines}
FOR ${csv_row_index} IN RANGE 2 ${lines_length}
\ @{currentLine}= Set Variable @{lines}[${csv_row_index}]