I am newbie in Coded UI testing. I am using VS2012 to create Coded UI test application. I am able to Build and Run the application.
However when I try to debug the project, it throws an error
A project with an Output type of Class Library cannot be started directly. In order to debug this project, add an executable project to the solution which references the library project. Set the executable project as the startup project
I tried to add a console application to the project and follow the above process, but doesnt help.. :(
In Visual Studio 2012 the big Debug button at the top of the window produces that message. To run or to debug a Coded UI test, right click in the source file of the test and select the Run
or Debug
entries.
In Visual Studio 2010 you could run or debug a Coded UI test using the buttons at the top of the window.