How to print result in the log viewer in Katalon Studio?

0

How to print result in the log viewer in Katalon Studio?

Answered question
0

Simply import the following library
import com.kms.katalon.core.logging.Keyword Logger as KeywordLogger
And write
KeywordLogger log = new KeywordLogger()
log.logInfo(“abc”)

This will print abc in your LogViewer

Answered question