Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to print variables values in Robotframework log

I have a RF test and I need to print the variables values, not the name. I am trying with "log to console Num: ${Num}" but log.html only shows:

**KEYWORD** BuiltIn . Log To Console Num:, ${Num}
Documentation:  
Logs the given message to the console.
Start / End / Elapsed:  20170209 12:14:05.273 / 20170209 12:14:05.273 / 00:00:00.000

I already tried to setting log level (TRACE, DEBUG) but didn't work. I appreciate some help, thanks.

like image 267
koxta Avatar asked Feb 09 '17 12:02

koxta


1 Answers

Try using keyword "Log"

Log    Num value is ${Num}
like image 101
Rakesh Avatar answered Sep 22 '22 13:09

Rakesh