I'm currently using Robot Framework for creating UI automation for our project. And I would like to know how to assign defined keyword as a variable value and how to run variable as keyword?

  • 1
    For me it's unclear what you are asking for. You want to know how you can store a value from a keyword which have [Return] statement or you are asking something else? Please update you question with more details.
    – chesthar
    May 4, 2021 at 19:20
  • You should share the code to we understand and perfaps help.... Jan 28 at 19:15

1 Answer 1


Robot framework has for this prepared keyword Run Keyword, where you supply actual keyword to run as a parametr - stored in variable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.