I try to get variable ${var_Master}
from a txt file and put it in to into list box and ${ValSub}
is working fine, but I got error on var ${var_Master}
:
**InvalidSelectorException: Message: invalid selector: An invalid or illegal selector was specified (Session info: chrome=64.0.3282.167) (Driver info: chromedriver=2.34.522940 (1a76f96f66e3ca7b8e57d503b4dd3bccfba87af1),platform=Windows NT 10.0.14393 x86_64)
With the below code example:
${var_sub} Get File ../resources/var_sub.txt
@{list} Split To Lines ${var_sub}
${var_Master} Get File ../resources/var_master.txt
:FOR ${line} IN @{list}
\ ${ValSub}= Get Variable Value ${line}
\ sleep 1s
\ select from list by value name=merchant_id ${ValSub}
\ select from list by value name=master_marchant_id ${var_Master}