Here are the situations in which a dialog box prompts you to clarify or confirm an action:
When a manual test result window is to be opened for execution. You have started a test run that contains one or more manual tests. As each manual test is encountered, a dialog box alerts you that the test is about to open for execution.
When a new deployment item is not in the solution folder. When you edit test run configuration settings, you can choose new files or folders to be deployed when tests are run. If you choose a deployment item that is not in the solution folder, a dialog box alerts you to this fact and warns that the item might not deploy correctly if the run configuration is used on a different computer. You are prompted to confirm your addition of the deployment item. For more information about how to set run configurations, see How to: Specify a Test Run Configuration.
When a remote test run contains manual tests. When you try to run a selection of tests remotely, manual tests are automatically removed from the test run. You can choose whether to be notified of the removal. For more information, see Removing Manual Tests from Remote Test Runs.
When adding InternalsVisibleTo attribute. Your code contains elements that have the internal access qualifier. When you generate unit tests, a dialog box appears that asks whether to add the InternalsVisibleTo attribute. You can choose whether to apply a single answer to this question in the future, which also suppresses the dialog box. For more information, see Unit Tests for Private, Internal, and Friend Methods.
When adding metadata files to solution items. You are trying to add a test metadata file to a solution that already contains a test metadata file. You are prompted whether you want to replace the existing metadata file, or merge the two metadata files together. For more information, see Adding Metadata Files to Solution Items.
When an empty test run is about to be aborted. After a manual test is removed from a remote test run, that test run might be empty. The Team System testing tools will not run an empty test run, and you can choose whether to have it notify you of this situation. For more information, see Stopping an Empty Test Run.
When canceling the publishing of a test run to the Team Foundation Server. If you start to publish test results and then cancel the publication, this dialog box appears. The dialog box just requests confirmation that you want to cancel publication.
When changing a property of a manual test in the Properties window while the manual test is open in Microsoft Word. While you have a manual test in Microsoft Word format open, you can edit its properties in the Properties window of Visual Studio. After you edit a property, Visual Studio displays a dialog box that alerts you that the property will be saved to the Word file. Clicking OK saves the changed property; clicking Cancel does not save the changed property.
When closing a running manual test.You are running a manual test, but before you finish it, you close the test. A dialog box appears to warn you that closing the manual test window will abort the manual test. Answering OK aborts the test.
When creating a work item from an unpublished test result. You are creating a work item from a test result that you have not yet published to the operational store. A dialog box appears that prompts you whether to first publish the test result before creating the work item.
When deleting a published test run from the Team Foundation Server. If you choose to delete a published test run, this dialog box appears. The dialog box requests confirmation that you want to delete the published test run.
When deleting one test run or multiple test runs. Using the Test Runs window, you select test runs and then press or click Delete. A dialog box requests confirmation that you want to delete the test run or test runs. For more information, see Deleting a Test Run.
When excluding a test from a group. You change the properties of a test so that it is no longer displayed in a particular group in the Test List Editor or the Test View window. You can choose whether to be required to confirm this action. For more information, see Excluding a Test From a Group.
When importing test lists, if there is a test list ID conflict. You are importing a test metadata file that contains test lists. The unique identifier of one of these test lists matches the identifier of a test list already in your solution. This causes a conflict that you are prompted to resolve. For more information, see Importing Test Lists.
When loading a legacy file. The format of XML documents used by tests in Visual Studio changed between Visual Studio 2005 and Visual Studio 2008. If you use Visual Studio 2008 to open a solution that contains outdated files, Visual Studio displays the Visual Studio Conversion Wizard. This wizard gives you the option of creating a backup of the files before converting them. When you click Finish, Visual Studio converts the files and opens the solution.
When loading a metadata file, if a test link cannot be found. You are loading a test metadata file that contains test lists, which in turn contain links to tests. One of the links to a test cannot resolve; that is, the test cannot be found at the stated path. You are prompted to decide what to do next. For more information, see Loading a Metadata File: Links Missing.
When loading tests or test run configurations, if there is an ID conflict. You are loading a solution that contains tests or test run configurations. The unique identifier of one of these entities matches the identifier of a test or test run configuration already in your solution. This causes a conflict that you are prompted to resolve. For more information, see Loading Tests or Test Run Configurations.
When opening manual tests in Word format when Microsoft Office Word 2003 (or later versions) is not installed. Your solution might contain a manual test in Word format that you authored in the past, or that someone else authored and gave to you. If you open that test while Word is not installed, Visual Studio opens the test in read-only mode in the main editing window. The dialog box alerts you to the fact that the test opens in read-only mode.
When starting a remote test run or a run with code coverage under the debugger. When you are running tests on a remote computer, you cannot gather code coverage information nor can you run tests under the debugger. If you start a test run that tries either of these actions, a dialog box informs you that the test run will continue to run, but locally, not remotely.
When submitting a test run that contains manual tests. When you start a test run that contains at least one manual test, a dialog box alerts you about the manual test.
When using a test run configuration file on a computer where Visual Studio Team System Test Edition is not installed, and a remote computer for running tests is specified.
A user of Visual Studio Team System Test Edition can create and save a test run configuration that specifies remote execution of tests. You might be running Visual Studio Professional Edition or Visual Studio Team Edition for Developers, which cannot be used to run tests remotely. If you use this test run configuration file in Visual Studio Professional Edition or Team Edition for Developers, a dialog box prompts you whether to run tests locally.
When importing test run configurations, if there is a test run configuration conflict. You are trying to import a test run configuration. Its identifier matches that of a test run configuration already in the Solution Items folder. This causes a conflict that you are prompted to resolve. For more information, see Importing Test Run Configurations.
The following sections describe many of these situations in more detail, to help you decide what to do when you experience them.