robotframework: Append test messages to "FAIL" message

Hello,

In robotframework version 2 I made sort of an “hack” in order to be able to append text from keyword failues to the parent test case failure by doing something similar to:

message = BuiltIn()._namespace.test.message

Then appending text to that variable.

When updating to robotframework 3 this doesnt seem to do the trick anymore as the _namespace.test.message has been moved elsewhere. I could find to where with the debugger but I would prefer if there was a way of doing this throgh the “official API”? Can this be implemented?

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

@juacompe This is EXACTLY what I am looking for. Have you made your own hack?