How to Set Variable with Get Location

378 views
Skip to first unread message

WilliamZhang

unread,
Aug 13, 2010, 6:40:04 AM8/13/10
to robotframework-users
Hi
I just want to set the Variable with Get Location.How can it work?
I have try
${PHOTO1_URL} = Set Variable Get Location
${PHOTO1_URL} = Set Variable 'Get Location'

But the ${PHOTO1_URL} is just get the 'Get Location' string not the
value/return url

Thanks

Janne Härkönen

unread,
Aug 13, 2010, 8:48:35 AM8/13/10
to jolly...@gmail.com, robotframework-users

Hi William,

When assigning return values of keywords to variables, there's no need
to use `Set Variable`, i.e. this works:

| ${PHOTO1_URL} =  |  Get Location |

hth,
__j

Reply all
Reply to author
Forward
0 new messages