Visual Studio 2012 - Coded UI Test Wont Run

I'm trying to create a Coded UI Test in Visual Studio 2012. When I add a new test VS will automatically start the recorder. I then do some basic clicks around in the WinForms application I want to test. I end the recording and generate a script. When I try to run that script it complies fine but I get the runtime error

"Message: Unit Test Adapter threw exception: Method not found: 'Void Microsoft.VisualStudio.TestTools.Diagnostics.NonVSSqmClient..ctor(UInt32)'.."

How do I get my scripts to run?

Answers


The only versions of Visual Studio 2012 that support Coded UI Testing are Premium and Ultimate.

http://www.microsoft.com/visualstudio/eng/products/compare

Those versions should be able to run your scripts.


After recording, when you give the method name for recording you have to call that method in another CS file. Next go to Test list Editor and select the CS file where you have called the test method and right click that method and run the application.

I think this will help you.


Need Your Help

Ubuntu Upgrade, Perl Version Broke ZImbra

linux perl ubuntu zimbra

Kind of in a bind here, since I heard about the bash bugs last night I decided on upgrading all off my server, not just the packages but the complete OS, it worked fine on all my servers, except my...

TFS build Xap packaging failed because it is being used by another process

silverlight-4.0 visual-studio-2012 tfsbuild tfs2012 xap

I am responsible over managing our automated builds and recently we have moved two silverlight based web applications into the same solution. Now about half the time when we build through the build

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.