[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Test settings use diagnostic data adapters, which specify various types of data to collect or how to impact a system when you run manual tests, automated tests, or both. For example, a diagnostic data adapter might create an action recording, an action log, a video recording, or collect system information. Additionally, diagnostic data adapters can be used to simulate potential bottlenecks on the test machine or reduce the available system memory. For example, you can emulate a slow network to impose a bottleneck on the system.
Test settings define the following:
The type of tests you will run (manual or automated)
The set of roles that are required for your application under test
The role to use to run your tests
The diagnostic data adapters to use for each role
Manual Tests: Collect Data on a Local Machine Using Default Test Settings
If you just want to run manual tests on a local machine and do not want to collect data on another tier of your application, you can use the default test settings. The default test settings use the following diagnostic data adapters to collect data on your local machine only:
You do not have to select a set of roles in your test settings or select an environment in your test plan for this set up. This is the simplest approach when you are getting started.
Note |
|---|
If you select this approach, you do not have to create test settings for your test plans. The default settings are added when you create a test plan. |
Manual Tests: Collect Data on a Local Machine Using Specific Data Diagnostic Adapters
If you want to run manual tests and collect data only on a local machine using different diagnostic data adapters from the default values, you must create test settings and either add them to your plan, or select to use these test settings when you run your tests using Run with options. However, you do not have to add a set of roles to your test settings. You can just use the default set of roles called Local for your set of roles. This will select a default matching environment of <Local Machine Only>.
Manual Tests: Collect Data Remotely
If you want to run your manual tests on a local machine and collect data remotely, you must create an environment for the set of roles that represent your application under test. You must then select this set of roles in your test settings and specify what data should be collected or how to affect the test machine for each role.
The following table lists your choices for collecting data or affecting the test machine in the first two columns when you run manual tests on a local machine. The last three columns list the actions that you must perform in each case:
Choice 1: Collect data or affect the test machine | Choice 2: Diagnostic Data Adapters | Action 1: Create Test Settings | Action 2: Set of Roles To Be Defined | Action 3: Matching Environment Required |
|---|
Local machine only | | No: Use default test settings | No | <Local> is already added to your test plan |
Local machine only | Select specific adapters | Yes | Use default:<Local> | Use default: <Local Machine Only> |
Local and remote machines | Select specific adapters | Yes | Yes | Yes |
Automated Tests
If you plan to run your automated tests using Microsoft Test and Lab Manager, you must use a physical or virtual environment that contains a set of roles to run your tests from your test plan.
For more information, see Setting Up Machines and Collecting Diagnostic Information Using Test Settings.