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 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.
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
Select the role to use to collect event log data.
Select Event Log and then click Configure.
The dialog box to configure the event log collection is displayed.
To configure which event logs to collect, select or clear Application, Security or System.
To configure which event types to collect, select or clear Error, Warning, Information, FailureAudit or SuccessAudit.
To limit the number of entries recorded in the event log per test, type the appropriate number in Maximum entries to log per test.
To collect events that occur when other tests are run, check Collect events from test cases that are run as part of another test.
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.