This is a mirror of official site: http://jasper-net.blogspot.com/

Enabling Coded UI Test playback logs in Visual Studio 2012 Release Candidate

| Thursday, June 7, 2012
In Jason Zander’s blog post: Announcing the Release Candidate (RC) of Visual Studio 2012 and .NET Framework 4.5 he showed a new Coded UI feature  -capturing playback logs.

Unfortunately CodedUI doesn’t do this by default and finding the logs isn’t always obvious.  

To enable CodedUI Test Playback logs you need to set some configuration settings in the file QTAgent32.exe.config to make this work.  This file can be found at:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE

The settings are:

<system.diagnostics> 
   <switches> 
     <!-- You must use integral values for "value". 
          Use 0 for off, 1 for error, 2 for warn, 3 for info, and 4 for verbose. --> 
     <add name="EqtTraceLevel" value="4" /> 
   </switches> 
</system.diagnostics> 

and:

<appSettings> 

<appSettings> 
<add key="EnableHtmlLogger" value="true"/> 
<add key="EnableSnapshotInfo" value="true"/>

QR: Inline image 1

Posted via email from Jasper-net

0 comments: