I created a keyword that concatenate two strings and return the new string, but there is something wrong that I'm not able to understand.
Set error
[Arguments] ${userName} ${error}
${errorStr} Catenate ${error} ${userName}
log to console ${errorStr} #->works 'No value in database for John'
[Return] ${errorStr}
but when return, I have this error:
[Arguments]is indented correctly. When I fix that and callSet error john No value in database for, it works as expected. Please show a complete minimal reproducible example - we don't need any of the database code, just enough code to show how you are calling this keyword and using the return value. - Bryan Oakley