I need to pass a list to Python library from Robot Framework test case. I've checked manual List variables syntax but it is working not how I'm expecting. Attempt to create list
@{filters} Test_one Test_two
gives to different arguments but my python library expects one. Attempt to pass list of one element by
@{filters} Test_one
Gives list
['T', 'e', 's', 't', '_', 'o', 'n', 'e']
The desired result inside python lib should like this:
['Test_one', 'Test_two']
What have I missed? Please help me to solve the issue.
So list variable should be created with @{} but passing to library should be done as scalar ${}. Original answer is here .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With