how to show full console log (including the stdout from println() statements) in the test report for running in test suite?
You can use KeywordUtil._logInfo(String msg) _to add INFO level message into test report.
is KeywordUtil.logInfo(String msg) same as KeywordLogger.logInfo(String msg) ?
btw, how to import the KeywordUtil package with shortcut if I don’t know the path of the import package?
I think it is. But KeywordUtil contains static methods, so you don’t have to create a new instance of the class (KeywordLogger.logInfo() is not static).
Ad. import - just doubleclick on class name in content assist window or use Organize imports (Ctrl - Shift - O)
2 Likes