Coded UI automation - HTML log with control image
Set the following configuration in to correct Agent configuration.
My example is QTAgent32.exe.config under C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE .
<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>
<appSettings>
<add key="EnableHtmlLogger" value="true"/>
<add key="EnableSnapshotInfo" value="true"/>
</appSettings>
Issue 1: Reset the recorded ui parameters will cause the HTML log can't be generated. Seems a microsoft's bug.
ALogin.DoLoginParams.UITxtPasswordEditSendKeys =Playback.EncryptText(AppConfigurationData.GetAppSetting<string>("PWD"));
浙公网安备 33010602011771号