How to: Edit a Coded UI Test Using the Coded UI Test Editor
The Coded UI Test Editor lets you easily modify your coded UI tests. Using the Coded UI Test Editor, you can locate controls and their associated actions and modify them.
Opening a Coded UI Test in the Coded UI Test Editor
The following procedure demonstrates the steps that are required 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
In Solution Explorer, locate UIMap.uitest in your test project.
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 recorded methods, actions, and corresponding controls in the coded UI test. For more information, see Editing Coded UI Tests Using the Coded UI Test Editor.
Tip
When you select a UI action that is located in a method in the UI Actions pane, the corresponding control is highlighted. You can also modify the UI action or the controls properties. For more information, see. How to: Edit UI Action Properties Using the Coded UI Test Editor and How to: Edit Control Properties Using the Coded UI Test Editor.
See Also
Tasks
How to: Delete Unwanted UI Actions Using the Coded UI Test Editor
How to: Split a Method to Better Modularize Your Test Code Using the Coded UI Test Editor
How to: Locate a Control in the Application under Test Using the Coded UI Test Editor
How to: Move a Method to UIMap to Enable Complete Customization Using the Coded UI Test Editor
How to: Locate All Descendants of a Container Control Using the Coded UI Test Editor
Concepts
Testing the User Interface with Automated UI Tests