How to: Update Test Configurations
You can update the existing test configurations of a test plan, test suite or a test case by using Microsoft Test Manager. Changing the test configurations affects the new test suites and test cases that are added to this test plan. Subsequent runs conducted against the updated configuration might have different results than the runs conducted against the previous configurations.
Changing the test configurations can affect test results history. If you have test results for this configuration, these results will now be associated with the changed test configuration.
If you plan to make significant changes to the existing configuration, you must create a new configuration. For more information, see How to: Create Test Configurations.
Update existing configuration
To update the existing configuration for a test plan
Open Microsoft Test Manager.
To display the Microsoft Test Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test Manager 2010.
To display the Test Configuration Manager window, follow these steps:
From the Testing Center, click Plan and then click Contents.
The Contents pane is displayed.
Click the drop-down arrow next to Default Configurations in the test suite details pane.
The Default configurations for new test cases dialog box is displayed.
Click Manage.
– or –
From the Testing Center, click Organize and then click Test Configuration Manager.
The Test Configuration Manager pane is displayed.
Select the configuration that you want to update from the list.
Click Open.
The configuration box of the selected configuration is displayed. All the variables and the values for this configuration are listed.
(Optional) Type the name of the updated configuration.
Note
New configuration title will be reflected in all the past test runs.
(Optional) Type a description of the updated configuration.
Select the variable that you want to update and click the drop-down arrow next to the value.
Select the new value.
(Optional) Repeat steps 7 and 8 to update more variables.
After you have updated all the variables, click Save and Close.
Click the refresh button on the upper-right side of the page and look for the updated information on the Test Configuration Manager pane.
Update existing configuration variable
To update the existing configuration variable for a test plan
Open Microsoft Test Manager.
To display the Microsoft Test Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test Manager 2010.
To display the Test Configuration Manager window, follow these steps:
From the Testing Center, click Plan and then click Contents.
The Contents pane is displayed.
Click the drop-down arrow next to Default Configurations in the test suite details pane.
The Default configurations for new test cases dialog box is displayed.
Click Manage.
– or –
From the Testing Center, click Organize and then click Test Configuration Manager.
The Test Configuration Manager pane is displayed.
Select the configuration that has the configuration variable that you want to update.
Click Manage configuration variable.
The Manage Configuration Variables box is displayed.
On the left pane, select the variable that you want to update.
A list of allowed values for the selected variable is displayed on the right side pane.
From the list of the allowed values, select the value that you want to update.
Type the new value.
Click Save configuration variables.
Note
Existing configurations using this configuration variable will not reflect updated value. You will have to select this variable in each configuration and select the new value.
To update the existing configurations with the updated configuration variable value, follow these steps:
From the Test Configuration Manager pane, select the configuration which uses the updated configuration variable.
Click Open.
The configuration box of the selected configuration is displayed. The message This value is not included in the allowed values is displayed next to the variable that you just changed.
Select the variable and click the drop-down arrow in the list box.
Select the new value from the list.
(Optional) Type the name and description.
Click Save and Close and then click Change configuration.
See Also
Tasks
How to: Create Test Configurations