Search code examples
reportrobotframeworkassert

Robot Framework - customize the message in Report.html


When the robot framework test suite is executed, report.html is created. In the report, there is a message column that is populated only when my assert statement fails. What if I want to give a message even when my assert passes? Is it possible?


Solution

  • You can use the Set test message keyword from the BuiltIn library