Logging from JavaScript
Telerik Testing Framework also supports logging directly from JavaScript into the unified test log that your tests are using. Logging from JavaScript is not enabled by default and needs to be explicitly enabled globally by setting the Settings.EnableScriptLogging = true via the Settings Class or setting enableScriptLogging="true" in the application .config file. In addition each page that wants to perform logging needs to include the WebAii_Logging.js file. You will find this file installed in the %InstallDir%\Bin folder.
Below is a sample to demonstrate how to perform logging from your JavaScript routines:
The page script function Test5() can perform logging like this: