python - How to use a variable as part of url in robot framework -


i trying go url using variables in path. code sample follows:

go    http://localhost:5000/api/v1/${ind_id_r} 

when try run it, tries open url , i.e " http://localhost:5000/api/v1/${ind_id_r}" instead of replacing variable ${ind_id_r} in url.

is there way make robot framework replace variable t value , navigate correct url?

thanks in advance

well, solution use catenate function , pass value url.

${req}  catenate    separator=  http://localhost:5000/  ${ind_id_r} go   ${req} 

Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -