Running Visual Studio 2010 UI tests not on Ultimate - c#

I have built a test with UI automation using Visual Studio 2010 Ultimate. I would like to run the test on computers that have other editions of Visual Studio 2010 installed, not Ultimate. However when I try to use mstest\testcontainer:tests.dll (the dll file of the test with the debug library) there was error that it was missing one of the test files.
Is there a way to run a UI test on a computer without the Ultimate edition? Thanks.

Coded UI Tests only run with VS Ultimate and VS Premium.
Here is an overview showing which VS edition supports which testing features: http://www.microsoft.com/visualstudio/en-us/products.
Here is the screenshot of the link above, just in case the URL shouldn't work anymore one day:

If you're referring to the Coded UI tests, it's only available on the Ultimate or Premium versions of VS2010. If a user is using the Express or Professional, they just won't be able to do it.
If upgrading those users to Ultimate/Premium isn't an option, you might want to look at a different UI testing tool.

Related

Is it possible to create a CodedUI test project if you don't have Visual Studio Enterprise?

I would like to automate my winforms testing using CodedUI but it seems that it is only available on Visual Studio Enterprise. Is it possible to create a CodedUI test project if you don't have Visual Studio Enterprise? If not, what are the alternatives to CodedUI?
The answer as far I know is no. You need Enterprise license to use that feature. This post seems to have some more information enter link description here
The answer is yes if you are on VS 2012-2013. There you need just Premium. Enterprise version is only relevant to VS 2015.
Here is the list of all requirements.

Web performance and load test project in VS 2012 Premium alternatives

We are using VS2012 Premium edition, it misses "Web Performance and Load Test project" type, so I am wondering can someone suggest good alternative to do performance and load testing in VS premium edition? Is it possible to use Coded UI generated code to run it in parallel to simulate user interactions?
Coded UI tests can be used within a Visual Studio Load Test. As Coded UI takes over the mouse, keyboard and screen of a computer you will need the same number of computers as the number of tests t be run at the same time. The computers may be real or virtual and the overhead of Coded UI is not great. So a computer that is powerful enough to comfortable run your application should be adequate.
The computers that run the Coded UI tests do not need Visual Studio installed. They need the Visual Studio "test agent" software that is easily downloaded from Microsoft. However you would need Visual Studio Ultimate or Team Foundation Server (TFS) to control the tests.
As far as I know, the only way to run load tests in Visual Studio is to use the Ultimate editions.
Here is a summary of Visual Studio versions.

Visual Studio 2013 Coded UI Test

I am currently looking into UI testing with alternatives for Selenium, recently i made the switch to VS2013 from VS2012 and the first thing i notice is that, the Coded UI Test project template is missing.
Anyone has a clue why this is missing and / or i need to install something in addition or if some workaround exists to make it available again?
Visual Studio 2013 Ultimate and Premium Editions have CodedUI test. See here for all the supported configuration details:
http://msdn.microsoft.com/en-us/library/dd380742.aspx
I am not sure if you can add it to Professional(I see no downloads listed for CUIT)
As Aniket mentioned, Coded UI is only available for the Ultimate and Premuim editions. There is also a Test pro edition that has a limited number of Testing tools. Some of them can be used to initially describe your tests and the later automate them with Coded UI.
The following links provides a feature comparison between the editions. Go to the Testing tools section, which specifies the availability of Coded UI in the specific editions:
http://www.visualstudio.com/en-US/products/compare-visual-studio-products-vs

Compile a Solution in VS Express which was written in VS Professional

I'm wanting to perform some maintenance on a C# project created in Visual Studio 2008 Professional. I'm running Visual Studio 2010 Express.
Are there any pitfalls/limitation in opening the solution, converting the solution to VS '10 Express, compiling, and publishing with ClickOnce?
I've converted the solution, and all seems fine. But I want to make sure of a few things:
Will VS warn me if the original solution contains projects that cannot be converted/compiled? I know that VS Express can't create Unit Test / Load Test and some other projects (see this answer). But what happens to these parts of the solution? Am I potentially limiting the solution by loading it up in VS Express? If the solution is reopened in VS Pro later, will those Load Tests, etc load up?
If you received no errors when converting the project you are safe.

Missing code coverage tab in VS localtestrun.testrunconfig?

I am relatively new to unit testing and was attempting to add some code coverage to my unit tests. Yet i can't find the code coverage tab in Visual Studio 2008 in the localtestrun.testrunconfig, is there any missing Add-in or tool?
Thanks,
DMS
As I understand "Code Coverage" is available only in "bigger" editions of Visual Studio 2008. In other words, this feature is NOT available in the "Visual Studio 2008 Professional Edition".
Which edition of Visual Studio 2008 are you using ?
MSDN Link
Go to the menu Test, select Edit test run configuration for your current test run and check enable code coverage. Then perform a run and then on the test run results you can choose to display code coverage.

Categories