A few test scenarios have been recorded using CODEDUI Test template for my web application in Visual Studio 2010 beta. These run from within the Visual Studio successfully without any issues.

I was looking for instructions to create a deployment package.

If you can guide me with this, I would be grateful.

[Note please create a tag for CodedUI Test]

+1  A: 

Coded UI tests use namespaces within libraries that are part of Visual Studio e.g. Microsoft.VisualStudio.TestTools.UITesting

This is unlike UI Automation which is part of the core .NET framework e.g.


Therefore as I understand it you cannot package Coded UI tests to run in an environment that does not have Visual Studio installed.

Sam Warwick
+2  A: 

Configure an environment with a "standalone" MSTest

A series of new test tools is being introduced with Visual Studio 2010. Team Agents provides a very small footprint and includes MSTest (it will be installed in a Visual Studio path).

C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe

You can copy the contents of your test project(s) bin\ directory to the machine with Team Agents installed and execute MSTest against your test container.

mstest /testcontainer:x:\test-project\automated-tests.dll"

Anthony Mastrean
Thank you ajmastream for replying.