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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -