How to pass a list as command line argument in robot framework.?

Viewed 5521

I am trying to pass a list as a command line argument to a robot script using -v option. Since this is not directly supported i am trying some workaround like,

robot -v list_arg:a__b__c -E space:_ sample.robot

This partly does the job as i can see space separated values when i log them onto console. Like
a b c. However i am unable to iterate over all the list members using FOR.I only see one item("a b c") being iterated.

Is there any other elegant way to pass Lists via command line in robot framework.?

2 Answers
Related