TestProject Forum
Powered by leading experts in the test automation community

Logging configuration in add-ons

Hello! Please tell me, is it possible to configure the logging of my methods in add-ons, if so, how and where can I see the logs? In the runner logs?

Hello @tihonina.
You can add steps and results with the Reporter.
You will get it from the helper object using helper.getReporter().
Then you can use methods like step() or result() and you will see those in the terminal as well as the generated report from the test.

I know about helper.getReporter (). result (), but it is not output to the console, and helper.getReporter (). step () is not available for add-ons. I want to receive informational messages in the log regardless of the state of the step (pass / fail), I need action execution logs for debugging

Good day! Any solution?