Is there any way to dynamically Count how many Arguments has been passed to a keyword AND is there a way to print arguments like Log ${Argument1}, ${Argument2}?. for E.g. There are some 10 check boxes to select. but in TC QA selects only few items which he/she sends as argument to a keyword. So, We want to capture all the list of arguments to create a List and iterate through them to select the right check boxes
Add Arguments to List
[Arguments] arg1 arg2 arg3 arg4 arg5
${NoOf_Arguments} = #TODO: no idea how to count no of arguments
@{List_To_Create}= Create List
: For ${item} IN RANGE ${NoOf_Arguments}
\ append to list ${List_To_Create} ${item}
[Return] ${List_To_Create}
[Arguments] @{args}and then handle them as list items. You can count them, log the list etc. - Jan Kovařík