Logging and Debugging the Custom Support

When you design the JavaScript functions for your toolkit support set, you can use the _util.LogLine method to add log messages to the Microsoft Windows event log. When UFT One runs a test or component using the support you designed, you can view these messages in the Event Viewer. For more information see, Using the Microsoft Windows Event Log.

When you test the toolkit support set that you designed, you can debug your JavaScript files like you would debug any other JavaScript file, using the Microsoft Script Debugger or the Microsoft Visual Studio debugger. For more information, see Debugging Your JavaScript Files (Internet Explorer Only).