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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -