Site Loader
Auckland, New Zealand
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
  • Office Applications
  • Android Applications
  • IOS applications
  • Web and Windows Services
  • Share point applications
  • Gaming applications
  • Embedded 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
    • Ordered Testing
    • Unit Testing
    • Web Testing
    • 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.

Manual Testing

Using MTM which is nothing but Microsoft Test Manager, one can do manual testing of application by creating
  • Test Plan,
  • Test cases,
  • Test Bed,
  • Run Test
  • Report Bug (STLC)

Ordered Testing

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

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

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. Thanks, Karthik KK

Post Author: Karthik kk

11 Replies to “Introduction to Visual Studio Testing”

      1. Hi KARTIK I have an issue with my configuration while executing the script for windows application .. can you please help me out

      1. 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

        1. Recently MS modified the Coded UI Test option.

          You need to create Windows store coded UI test rather Windows app Coded UI testing project.

          Karthik KK

  1. Hey Karthik ,

    Windows Store Coded UI Test Project is not present in the Windows Universal.

    Deepak Rane

Leave a Reply

Your email address will not be published. Required fields are marked *