Analyzing Coded UI Tests Using Coded UI Test Logs -


i trying html log file coded ui tests. tried steps mentioned in following link

https://msdn.microsoft.com/en-us/library/jj159363(v=vs.110).aspx

by default generated .png file(image file) captures screenshot of active window error occurred. tried using other values "eqttracelevel" in configuration file, there no difference, still generates image file.

does work windows application? if additional settings required?

to enable html logging in tests should add playback.playbacksettings.loggeroverridestate = htmlloggerstate.allactionsnapshot; test.

this show steps taken in test , corresponding screenshot of application under test. show highlight rectangle show found control.

alternatively change qtagent32.exe.config or qtagent32_40.exe.config in c:\program files (x86)\microsoft visual studio 11.0\common7\ide (or have vs installed) contain following settings:

 <appsettings>    <!--- settings -->    <add key="enablehtmllogger" value="true"/>  </appsettings> 

and increase detail of logging:

 <switches>    <add name="eqttracelevel"value="4"/>  </switches> 

where 0 off, 1 errors, 2 warnings, 3 info , 4 verbose.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -