How to Generate a Test Studio Application Log

PROBLEM

I'm experiencing an issue with the Test Studio application (as opposed to an automation challenge). I need to generate an application log file for troubleshooting purposes.

SOLUTION

Test Studio supports logging. The logs are stored in a plain text file. This feature is turned off by default and you will need to manually turn it on. Please note that this log monitors "application" events. The log will not be of much value in troubleshooting true automation problems (e.g. the test doesn't press the button in my Login page).

 

You might be asked by the Telerik Support team to provide an application log for a particular problem. The best practice here would be to clear the log (if not empty to begin with) and enable it. After this, trigger the problematic behavior and subsequently send the log.

Standalone version

In the Standalone version of Test Studio: 

1. Click the Help tab.

2. Click Enable in the Logging ribbon.

 

Enable Log button
Figure 1. To turn on logging, click the Enable button in the Logging section of the Ribbon Bar.

 

This will turn on logging. After you experience the issue, open the log by clicking the View Log button.


View Log button
Figure 2. The View Log button appears in the Logging section of the Ribbon Bar in the Help tab.

VS plugin / Runtime Edition


To open a current application trace log, open the Record drop-down menu in the Telerik Testing toolbar.


VS 2010 Plugin Record Menu


You will need to manually edit the Registry on the machine. Load Regedit and find the Test Studio folder. The default path is:

  • Computer\HKEY_CURRENT_USER\Software\Wow6432Node\Telerik\Test Studio

 

 

Find (or create) the TraceLogEnabled key in this folder. Double click it and change the Value data to 1. You should also see the TraceLogPath value. This is where the log will be stored. Ensure you include the file name and type:

  • C:\Temp\TraceLog\log.txt

Find out more about using the application log in our troubleshooting guide.