Export (0) Print
Expand All

How to: Configure Event Log Collection Using Test Settings

Visual Studio 2010

You can configure the diagnostic data adapter that collects the event log data from Microsoft Test Manager and Microsoft Visual Studio 2010. 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.

NoteNote

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 Microsoft Visual Studio 2010, 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 click 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, Click Save. If you are using Visual Studio, click OK.

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

Community Additions

ADD
Show:
© 2015 Microsoft