Export (0) Print
Expand All

How to: Delete Unwanted UI Actions Using the Coded UI Test Editor

Visual Studio 2010

By using the Coded UI Test Editor, you can open a coded UI test for viewing and editing. One of the editing capabilities available in the Coded UI Test Editor is deleting unwanted UI actions in your test methods.

Follow these steps to open an existing coded UI test for editing in the Coded UI Test Editor.

To open a coded UI test in the Coded UI Test Editor

  1. In Solution Explorer, locate UIMap.uitest in your test project.

  2. Right-click UIMap.uitest and select Open.

    -or-

    Double-click UIMap.uitest.

    The coded UI test is displayed in the Coded UI Test Editor. You can now view and edit the coded UI test. For more information, see Editing Coded UI Tests Using the Coded UI Test Editor and How to: Edit a Coded UI Test Using the Coded UI Test Editor.

Follow these steps to delete an unwanted UI action in a test method of your coded UI tests.

Delete UI action

To delete a UI action

  1. In the UI Action pane, expand the test method that contains the UI action that you want to delete. Select the UI action.

  2. Right-click the UI action and click Delete.

    The UI action is removed from the coded UI test.

  3. On the Visual Studio toolbar, click Save.

    The updates to the test method are saved in the UIMap.Designer file.

Community Additions

ADD
Show:
© 2014 Microsoft