Logs an informational message and a screenshot to the TrueLog file that is written during test execution.
LogInfo (message, [screenshotMode]);
LogInfo (message, [screenshotMode])
Variable | Description |
---|---|
message | The text to write to the TrueLog file. STRING. |
screenshotMode | Optional: Defines whether a screenshot of the complete desktop, the active application, or the active window should be logged. If not set, no screenshot is logged. Enum. |
// C# code
LogInfo ("Succesfully logged in to the application.");
'VB .NET code
LogInfo ("Succesfully logged in to the application.")