To run automated tests in Microsoft Test Manager, create a team build including your
test project and add the build to your test plan.
A Team Foundation Server (TFS) build definition (XAML builds), for your project
contains specifications such as which code projects to compile, what actions trigger
a build, and what tests to run.
To create and configure an XAML build, carry out the following steps:
Share a folder on the build server’s hard drive.
This folder will store build results.
In Visual Studio, open the Team Explorer panel (if it is
hidden, select from Visual Studio’s main menu to display the panel) and connect
to your team project.
In the Team Explorer - Home window, choose
In the Team Explorer - Builds window, choose
New Build Definition.
The Build Definition window appears.
Refer to the following Microsoft instructions to learn the
details of how to create a new TFS build definition.
To create a new XAML build, only configurations for the Build
Default tab mentioned in the following steps are required. The
others are optional.
Keep in mind the following specific settings:
- On the Build Defaults tab, in the
Build controller list, specify the build controller that will be used
to process the team build.
- Also in the Staging location section of the tab,
specify the way the build process should store the output files and logs:
- Copy build output to the following drop folder:
Choose this option to copy output files to a drop folder on a file
share server. In the box, type the Universal Naming Convention (UNC)
file path of the folder into which you want the build system to
write the output files. Note that you must specify a folder that has
been prepared for use as a drop folder.
When you finish working on the build definition, on the
File menu, choose Save <Name of Build
Fastpath: Alternatively, press Ctrl+S to save
your new build definition.
The XAML build you created appears on the Builds page in
After you create an XAML build, start it to create a team build instance to be
associated with your test plan. (Learn