Microsoft Visual Studio is the most popular rapid application development (RAD) tool used not just develop web and windows applications, but we can do development of
Web and Windows Services
Share point applications
Cloud application etc
Visual Studio support many languages ranging from C++ to C#, VB.Net, Jscript, F# etc
But, in this post and all upcoming posts, we are going to discuss about Testing features in Visual Studio.
Testing with Visual Studio
So does Visual Studio testing is all new features? Or Does testing is something very specific to developers?
Well, the answer is NO
Visual Studio testing started way back from Visual Studio 2008 Edition (should be before that too, but I started to learn from 2008), but it didn’t had much of the features like Coded UI, Ordered test etc which current version of Visual Studio has. And Visual Studio testing feature is very not inclined towards developers, even though it has many testing features for developer as well.
Different Types of Testing in Visual Studio
Visual Studio has different types of testing feature, which was introduced from Visual Studio 2010 Ultimate Edition. Based on Visual Studio editions, the testing features included in the package changes.
The different types of testing in Visual Studio are
Coded UI Testing
Manual Testing via MTM
Web Load Testing
Note that, only Visual Studio Ultimate Edition has Coded UI testing feature.
Testing types detailed
Coded UI Testing
Automated tests that drive your application through its user interface (UI) are known as coded UI tests (CUITs). These tests include functional testing of the UI controls. They let you verify that the whole application, including its user interface, is functioning correctly. Coded UI Tests are particularly useful where there is validation or other logic in the user interface, for example in a web page. They are also frequently used to automate an existing manual test.
Using MTM which is nothing but Microsoft Test Manager, one can do manual testing of application by creating
Report Bug (STLC)
Ordered test is used in conjunction with Coded UI Test or Unit Test, to hold all the different test methods to execute in specific orders. These become very useful while running a large set of similar kind of test in specific order.
Unit testing feature is commonly used by developers, were developers write methods to test their own methods for their expected behavior.
Web Performance Testing
Web testing option is used to simulate the user action performed by a user in the web application. This will store all the HTTP GET/POST requests of the web application. This can then be used in conjunction with load testing of the same application via virtual users as if a real user is performing the operation.
Load testing option is used to load test the application via multiple virtual users. Load Testing not only load tests web application, but also load tests Web services as well.
System Requirement of Visual Studio Testing
As mentioned earlier, based on the Edition of Visual Studio, the testing types availability will change. But the most superior edition of all the edition is Ultimate Edition.
Hence the system requirement is
OS : Windows 7 and above
Visual Studio 2010 Ultimate and above
SQL Express 2008 or above
Thanks for watching and reading this post.
11 Replies to “Introduction to Visual Studio Testing”
You provide training for coded UI & web performance load testings ?
I provide training for only Coded UI not performance testing.
Hi KARTIK I have an issue with my configuration while executing the script for windows application .. can you please help me out
Visual studio Community edition supports codedUI testing?
Yes. It does
Are you providing training for Coded UI,
Please checkout here https://www.udemy.com/framework-development-with-cuit/
Hey karthik ,
i have downloaded visual studio 2017 professional trail version in order to learn the CodedUI by watching your videos,but the problem is am recording while recording am not getting the steps instead am getting this ” // To test Windows Store apps, use the Coded UI Test project template for Windows Store apps under the Windows Store node.
” this error am getting can you please give me a solution for this.
Thanks and regards
Recently MS modified the Coded UI Test option.
You need to create Windows store coded UI test rather Windows app Coded UI testing project.
need notes pdf
Hey Karthik ,
Windows Store Coded UI Test Project is not present in the Windows Universal.