Some Test ${max_num} Set Variable 5 @{list_to_populate} Create List # create empty list to populate with for-loop FOR ${i} IN RANGE 1 ${max_num} Append To List ${list_to_populate} ${i} END Log Many @{list_to_populate} # 1 2 3 4