I want to fetch the values which are in list I have declared (@{EMAIL_LIST} with 3 values in it)
I am using
: FOR ${a} IN RANGE 0 3
\ Input Text id=username @{EMAIL_LIST}[a]
It is giving the error:
List variable '@{EMAIL_LIST}' used with invalid index 'a'.
Please make me correct, Thanks in advance :)
You should use ${a} as index instead of 'a'
: FOR ${a} IN RANGE 0 3
\ Input Text id=username @{EMAIL_LIST}[${a}]
: FOR ${a} IN @{EMAIL_LIST} \ Input Text id=username ${a}
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