I'm using robot framework and I want to use a keyword that acepts a variable number of parameters
this is the common use of this keyworkd
keyWord to use var1 var2 var3
Now I want to use it from my own keyword because it will be common in my project, and I want to avoid repeat the loop in every file. This is what I tried
Get data from users var1 var2 var3
Get data from users
[Arguments] @{keys}
:FOR ${user} IN @{users}
\ keyWord to use ${keys}
[Return] ${userData}
But this is not working because ${keys} is a list.
Is it anyway to convert this list:
${keys} ['var1','var2','var3']
into this positional arguments:
var1 var2 var3