Answered Why IntelliTrace log haven't attached to TestResult?

  • Wednesday, October 19, 2011 1:40 PM
     
     

    I have configured virtual environment with WebServer role.

    I have configured TestSetting for automated tests with Intellitrace enabled and ASP.Net Client Proxy enabled.

    In Intellitrace Configuration I set "Collect data from ASP.NET application running on Internet Information Services"

    My web application deployed succefully, My CodedUI test works perfectly on this web-server.

    But there is no Intellitrace log attached to TestResults =(

    Just only SystemInformation.xml, tmiRun.tr_, mvcwebui.tests.dll and mvcwebui.tests.pdb

    I can see that during test execution in c:\windows\temp appears file w3wp_000blablabla.itrace file appears.

    But why this file didn't attached to TestResult or to Bug?

    After some minutes file w3wp_000blablabla.itrace dissapears.

     

    I have read a lot around configuring TestSetting (like http://social.msdn.microsoft.com/Forums/en-AU/vslab/thread/e312b6d0-5423-4ba0-8d64-6295d8daa8c9 and all links inside). My service account has Admin rights, magic like runas /user:domain\name /profile cmd.exe was executed, all errors in Event Log - fixed, SP1 installed, etc.

    I see "TraceLog profiler component initialized successfully. Process w3wp.exe" - when Test was started.

    And "TraceLog profiler component shutdown. Process w3wp.exe" - after test finished.

    I even can copy itrace log manually from windows\temp,

    But what should i do to get intellitrace automatically attached to testResult in MTM or to Bug?

     

    Thank for any help!

    A.

     

     

     

     


    Alek Yakovlev
    • Moved by Vicky SongOwner Thursday, October 20, 2011 9:48 AM MTM issue (From:Visual Studio Team System - Testing)
    •  

All Replies

  • Thursday, October 20, 2011 9:47 AM
    Owner
     
     

    Hello Alex,

    I am moving thread to the MTM forum so that you can get better support.

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Friday, October 21, 2011 12:08 PM
     
     
    Is there any option to see internal log to detect, why intellitrace didn't atttached to TestResults?
    Alek Yakovlev
  • Thursday, May 10, 2012 2:45 PM
    Owner
     
     Answered
    The intellitrace file will get attached only in the case of a failed test case. If it is not appearing even in the case of a failed test, look out for an error/warning file attached to the test result or the bug.
    • Marked As Answer by Alek Yakovlev Thursday, May 10, 2012 8:49 PM
    •  
  • Thursday, May 10, 2012 8:53 PM
     
     

    Thank you!

    It is true. But, it is not very good in some situations, when you have passed test, but need to analyse Intellitrace log.

    Anyway, thank you for answer.



    Alek Yakovlev