Dela via


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

  1. 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.

  2. To display the Test Configuration Manager window, follow these steps:

    1. From the Testing Center, click Plan and then click Contents.

      The Contents pane is displayed.

    2. 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.

    3. Click Manage.

      – or –

      From the Testing Center, click Organize and then click Test Configuration Manager.

      The Test Configuration Manager pane is displayed.

  3. Select the configuration that you want to update from the list.

  4. Click Open.

    The configuration box of the selected configuration is displayed. All the variables and the values for this configuration are listed.

  5. (Optional) Type the name of the updated configuration.

    Note

    New configuration title will be reflected in all the past test runs.

  6. (Optional) Type a description of the updated configuration.

  7. Select the variable that you want to update and click the drop-down arrow next to the value.

  8. Select the new value.

  9. (Optional) Repeat steps 7 and 8 to update more variables.

  10. After you have updated all the variables, click Save and Close.

  11. 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

  1. 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.

  2. To display the Test Configuration Manager window, follow these steps:

    1. From the Testing Center, click Plan and then click Contents.

      The Contents pane is displayed.

    2. 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.

    3. Click Manage.

      – or –

      From the Testing Center, click Organize and then click Test Configuration Manager.

      The Test Configuration Manager pane is displayed.

  3. Select the configuration that has the configuration variable that you want to update.

  4. Click Manage configuration variable.

    The Manage Configuration Variables box is displayed.

  5. On the left pane, select the variable that you want to update.

  6. A list of allowed values for the selected variable is displayed on the right side pane.

  7. From the list of the allowed values, select the value that you want to update.

  8. Type the new value.

  9. 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.

  10. To update the existing configurations with the updated configuration variable value, follow these steps:

    1. From the Test Configuration Manager pane, select the configuration which uses the updated configuration variable.

    2. Click Open.

    3. 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.

    4. Select the variable and click the drop-down arrow in the list box.

    5. Select the new value from the list.

    6. (Optional) Type the name and description.

    7. Click Save and Close and then click Change configuration.

See Also

Tasks

How to: Create Test Configurations

Concepts

Defining Your Test Matrix Using Test Configurations