Robot Framework not creating file or writing to it

北战南征 提交于 2019-12-06 08:33:35

Tried with your code! and I have started believing that it is expected behavior.

Why?, because logging in Robot Framework must be handled using the same "Logging" python library that you are using in your code.

So, when you are actually passing your [INFO], [DEBUG] or any other messages, you are in fact not creating a new logger, it would be as good as passing it to the existing logger of the Robot Framework! Hence we see all the messages in the log.html of robot framework. as below:

20161209 12:24:58.497   WARN    Application has failed.     
20161209 12:24:58.499   WARN    No working Internet connection available    
20161209 12:24:58.501   WARN    this build has no associated authentication!

It is just a thought though!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!