0

I am trying to create a variable using another variable using Set Variable Keyword. But I am getting below error.

${vname} = Set variable   var_
${{vname}a} = Set variable   a
Log ${var_a}

Error: No keyword with name '${{vname}a}=' found.

Can someone help to resolve this issue?

1
  • You can't do what you are trying to do. What is the real problem you're trying to solve? There are likely better solutions than to try to create dynamic variable names. Commented Mar 25, 2016 at 13:56

1 Answer 1

1

you can do it with "set test variable" keyword:

${vname} = Set variable   var_
Set test variable   ${{vname}a}    a
Log ${var_a}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.