Logger

Introduction

The logger component allows you to write log messages, which is useful for error or bug diagnosis purposes.

You can elect to log errors, info, warning, or notes messages based on the requirements.

Overview

Logger is a detailed report of the automation, that helps us to understand the process of running the application in a better way. It also has the advantage to add a log message based on the requirement. The message can be information related to errors, notes, warnings, or any kind of details related to that automation. The core benefit of the logger is enabling an effective application process, by saving the detailed data of the automation for future analysis. It also helps you to identify the errors, which helps to fix the bugs and improve the test automation success rate.

Steps to configure

  1. Drag and drop the logger task in the automation and click on it. The below form will appear on the right side of the screen.

  2. Here you can add a log message based on your requirement.

  3. You can add multiple log messages based on the need.

  4. For adding more than a single log message you need to click on the add symbol. On the other hand, if you want to remove any of the log messages you need to click on the minus symbol.

  5. The log message can be a note, error, information, task, or message. A log message can store details issued from the specific automation for providing details information to the user. These log messages need to be easy to understand and analyze. Therefore, it’s important to keep the log message clear, readable, and descriptive.

  6. Now save it for further process.

  7. Save the automation by selecting the below option.

  8. Now click on reports to download and view the logs. For more information please refer to https://sappersoftware.atlassian.net/wiki/spaces/SD/pages/134250431

  9. In the report, section click on the below option from the actions field.

  10. After you click on this option the log for the automation will be downloaded in a JSON format.

  11. Now you can view it from the notepad as shown in the below format.

  12. Here you can check for the specific notes or message that has been generated in the log message. For example: INFO=========Started execution soap task=========

 

 

https://sappersoftware.atlassian.net/wiki/spaces/SD/pages/127827909

https://sappersoftware.atlassian.net/wiki/spaces/SD/pages/140738401