Katalon Studio enables users to review test execution logs in Katalon in Log Viewer. Additionally, you can choose to view ALL execution logs in Katalon or just certain specific ones such as PASSED, FAILED, ERROR, and NOT RUN. Subsequently, this guide provides you necessary information when viewing the execution logs in Katalon. In addition to this, it will also tell you how to view the results of the automation tests.
Once your test cases/test suites finish execution, subsequently, you can review the results on the Log Viewer views.
Additionally, using the filter options, you can specify what type of logs to be displayed.
|(All) Show all the log messages.|
|(Info) Show only log messages for information/reference.|
|(Passed) Show only log messages indicating that a step executes successfully.|
|(Failed) Show only log messages indicating that a test step fails to execute.|
|(Error) Show only log messages indicating that some error occurs at a given step.|
|(Warning) Show only log messages indicating that a test step is failed but accepted as a warning.|
|(Not Run)Show only log messages indicating that a test step skips.|
Katalon Log Viewer: Tabular View vs. Tree View
We can view the Log Viewer in two different modes: First, tabular view, and second, tree view. Additionally, you can switch to the tree view by selecting the Tree View toggle as illustrated below:
The Tree View display logs in a structural way that relates to how the test case/test suite organized. Additionally, users can now navigate to the respective step by selecting from the context menu, as shown below:
While the test is in execution, the Log Viewer will update with real-time log messages. Moreover, here the most recent log message appears at the bottom of the view. Therefore, the Log Viewer keeps scrolling down during the test execution. However, users may want to keep the Log Viewer standing still so that they can verify specific log messages. To do so, you can select Scroll Lock.
As mentioned above, users can view execution logs in Katalon using two different views in Log Viewer. Additionally, these views allow users to quickly track test execution. Consequently, modifications to the test scripts happen accordingly.