Show argument values instead of variable names in robot framework logs

StackOverflow https://stackoverflow.com/questions/23512233

  •  16-07-2023
  •  | 
  •  

سؤال

In the log.html file produced by a robot framework test suite execution we see the executed keywords with their arguments. Something like:

${result}= do some calculations  ${arg1}   ${arg2}   ${arg3}

Can it be configured to log the actual values of the arguments instead?

${result}= do some calculations  33   2014   Bil
هل كانت مفيدة؟

المحلول

You can set log level value to TRACE when running the case. You'll then see the argument values in the logs.

pybot --loglevel TRACE mytests.txt
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top