Run keyword and return status keyword usage

Hi Experts,

I want to know how to get the return values from a keyword while using the Run keyword and return status keyword.

This is what i was trying:
${Name} Run Keyword Logging Data
Log ${Name}

In the above case, i am able to get the ${Name} variable from the Logging Data keyword.

${Name} Run Keyword And Return Status Logging Data
Log ${Name}

Not able to get the value here. How to get those return values from this keyword?

Thanks

Run Keyword And Return Status returns keyword status as Boolean value. If you also need return values from keyword you can try Run Keyword And Ignore Error

2 Likes