Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

How to: Configure Event Log Collection Using Test Settings

You can configure the diagnostic data adapter that collects the event log data from Microsoft Test Manager and Visual Studio. The data will be available for review with the test results and in a bug, if you create a bug.

The following procedure describes how to configure your diagnostic data adapter to collect event log data.

Note Note

The event log can be collected for both manual and automated tests.

Before you perform the steps in this procedure, you must open your test settings from either Microsoft Test Manager or Visual Studio, and then select the Data and Diagnostics page.

To configure the diagnostic data adapter to collect from the event log

  1. Select the role to use to collect event log data.

  2. Select Event Log and then choose Configure.

    The dialog box to configure the event log collection is displayed.

  3. To configure which event logs to collect, select or clear Application, Security or System.

  4. To configure which event types to collect, select or clear Error, Warning, Information, FailureAudit or SuccessAudit.

  5. To limit the number of entries recorded in the event log per test, type the appropriate number in Maximum entries to log per test.

  6. To collect events that occur when other tests are run, check Collect events from test cases that are run as part of another test.

  7. If you are using Microsoft Test Manager, Choose Save. If you are using Visual Studio, choose OK.

    The diagnostic data adapter for the event log is now configured and saved for this test setting.

Show:
© 2015 Microsoft