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.
Related
I am considering options for a new computer and I am debating between a Windows and MacOS platform. I'm a windows (C#/.net) developer and I work primarily in visual studio, but I also work in other open source technologies in my personal time.
Microsoft has recently released Visual Studio for MacOS and I'm wondering if there are any significant limitations that would make .net core in visual studio on a Mac too difficult to be worthwhile.
I've heard of some early limitations such as not being able to publish to the filesystem and not being able to run multiple instances of Visual Studio, but I'm unsure if these have been resolved, or if they are on the VS for Mac roadmap.
I am trying not to make this an opinion-based question so I am looking for factual limitations or benefits. One of the benefits I see is being able to develop software and test on all three major platforms via virtualization (mac, windows, linux).
You will be able to do on Mac
Run and debug .NET Core projects.
Run multiple instances of Visual Studio 2019.
Run and debug Xamarin projects.
You won't be able to do on Mac
Run ASP.NET Full Framework projects.
Run Winforms projects (you might if you use Mono, but it won't be transparent).
Run IIS.
Visual Studio for Windows has more project templates, especially for Azure.
Benefits?
Running .NET projects if you have a Mac.
I think Xamarin development is better on Mac.
Personal conclusion
I use both environments every day. If you are a Mac user is great being able to run .NET Core apps without a VM. But, I consider VS on Window way more mature than VS for Mac.
You may use JetBrains Rider on your Mac or run the Visual Studio for Windows under Parallels Tools.
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
There is a debate going in our department to virtualize Visual Studio into App-V, Microsofts Application Virtualization. In the back of my mind, I think doing this will cause problems when trying to debug or run other tasks in Visual Studio but I can't put my finger on any one thing to support my argument.
Has anyone had any experience with Visual Studio 2010 running inside App-V?
I am open to the idea if there are no issues but I am afraid that if this is put in place, we will have issues.
What do you think?
Based on the description of App-V here I'd be shocked if the performance was good enough for Visual Studio to be usable. VS is a very processor and IO intensive application. Virtualizing its entire operation over the wire is likely drag performance down to unacceptable levels.
I have seen VS perform acceptably on local VMs running VirtualBox, that might be another option for you if platform standardization is your goal.
I know this is an ancient question, but I found it in a Google search. Just wanted to mention that we've been running Visual Studio 2010 this way for a couple of years, and it's fine. We use it in both a classroom setting and on developer desktops.
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.
I'm developing an application using Visual C# Express Edition - what is the downside to using the express editions? Are there any limitations on what I can build and release? Will my users be able to tell I'm using the Express Edition?
It won't impact your users, other than by making you less productive by prohibiting add-ons such as ReSharper, TestDriven.NET, etc. and not having some of the built-in features of the commercial editions.
To put it another way: if a word processor didn't have a spell checker, you could still make sure that your documents were spelled correctly, so readers wouldn't know - but it's a lot quicker (usually!) if the tool has it built in...
Here is a huge comparison chart of all versions of Visual Studio, from Express until Team System.
Visual Studio 2008 Product Comparison Guide
No AddIns whatsoever - no ReSharper, no TestDriven.net, no VisualSVN, no nothing
Server Explorer does not support remote databases
No support for solution folders
Express targets only a single Framework - Express 2008 targets .net 3.5 only. (Edit: I was wrong, Express 2008 indeed supports multi-targeting)
Reinstalling Express may require re-registration which is free, but can be shut down any time from Microsoft
Apart from that, it's fine. It uses the same compiler to generate the same code, you just don't get all the Time-Saving tools that VS Professional offers.
The Express debugger does not allow Attach to Process:
The ability to attach the debugger to
an already-running process has also
been removed, hindering scenarios such
as writing Windows services and
re-attaching a debugger under ASP.NET
when errors under the original
debugging session cause breakpoints to
be ignored.
I can live with everything else but that.
Only one language is supported. You can't have an application in C# and a library in C++ in the same solution, for instance.
Also, third party ADO.NET providers are not supported in the designers
See features and tools available with Express editions, Visual Studio Standard and Professional editions, and Visual Studio Tools for Office.
It has no mobile device support - one of the most important features, for me :o)
No MFC visual gui builder for C++.
EDIT
Oops - just read the C# tag. I'll leave this up though in case it comes up in a search for anyone else who might also be using c++
Visual Studio Express can do "most" of what the higher editions can do until you start getting into more advanced things such as trying to install third-party components and get full integration, adding database projects, integration into third-party systems, etc. On that note even Visual Studio Standard lacks several of these features so you'd be looking at Professional (at a minimum) to get a fully robust and feature-rich edition.
The current version of VS Express (I'm writing in 2014) has no diagnostics. No assert method and things like stat monitoring. For me this means I'll use a different version to finish a site because it limits testing and validation. No point in making a sub-par .NET site to be actually used.