robotframework - How to handle error Positional argument after varargs in RF? -


i’m trying create user keyword “create list of list” create list of list has 2 lists arguments. when run this, shows error “creating user keyword 'create list of list' failed: positional argument after varargs.”

***  test cases *** sample test case     [tags]    test     @{list1}=    create list     b  c  d     @{list2}=    create list    1  2  3  4     @{listoflist}=    create list of list    @{list1}  @{list2}  *** keywords *** create list of list      [arguments]    @{list1}  @{list2}      log     hello world 

any suggestions helpful.

rf version used: 2.8.7

when passing 2 lists keyword, want pass list, not individual elements of list. reference list object, use $ rather @:

***  test cases *** sample test case     ...     @{listoflist}=    create list of list    ${list1}  ${list2}  *** keywords *** create list of list      [arguments]    ${list1}  ${list2}      ... 

Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -