How to only write custom messages to the VuGen replay log

How to only write custom messages to the VuGen replay log

When replaying a script in VuGen with calls to either lr_output_message() or lr_message() to write custom messages, the documentation states that Always send messages needs to be enabled in the Run-Time Settings otherwise there is no output. However, enabling Always send messages results in many other messages being written to the replay log.

How can VuGen be configured so that only messages from lr_output_message() or lr_message() are written to the log?

Solution

In the VuGen Run-Time Settings go to General->Log and uncheck the Enable logging setting. This will result in only the messages generated using lr_output_message() or lr_message() being written to the replay log.

READ  Software Testing Artifacts - Detailed Guide

Leave a Comment