Ismar
January 21, 2019, 9:37am
1
Hello,
What is the best practice and recommended way of writing info to Katalon studio console and execution log?
I have used this method(src ) :
KeywordLogger log = new KeywordLogger()
log.logInfo(“yourMsg”)
But I got notification saying that it should no longer be used and sometimes test cases fail if I have this in my scripts.
Best regards
Ismar
For INFO level messages, you can use KeywordUtil.logInfo(String message) .
There are also other methods in this class, such as markWarning, markFailed and markError .
1 Like
Ismar
January 21, 2019, 9:49am
3
Awesome, thank you. This way of logging info works without a problem
Russ_Thomas
Split this topic
December 22, 2020, 6:14pm
4