Can we print the marked in the console? Please click on the logfile for the image reference which is the log file of the robotframework.
How to print the info, message, status, tags part which present in the log file on to the console in robotframework
156 views Asked by newbie At
1
You can use the
Log
keyword and pass inconsole=yes
For example
Log Hello, console! console=yes
This is detailed here: https://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Log
As far as logging the other data, you can find those in the Automatic Variables
For example
Log Hello, from ${TEST_NAME} console=yes