Thursday, June 21, 2012

Visual Studio 2012 RC – Manage Test Controllers

Unlike Visual Studio 2010, Manage Test Controllers option is not available under Test->Manage Test Controllers

There are three options to go to Manage Test Controllers.
The first option is the same which is available in Visual Studio 2010. You can open the Test Settings file and go to Roles Tab
The second option is a newly available in Visual Studio 2012. Open the Load Test and click on Manage Test Controllers


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The third option is a also newly available in Visual Studio 2012. Open the Load Test, right click on it and select Manage Test Controllers

Tuesday, June 19, 2012

Visual Studio Web Test - Default Proxy

Learned a new trick today from one of the forums.
If you want your web tests to use the same proxy as the one set in your browser, you can set the Proxy property in the web test to Default

Visual Studio 2012 RC - Test Explorer


Test Explorer allows you to view all the tests in the test project. It also classifies the tests based on the test results. The time taken to execute the test can also be seen in the Test Explorer. We can also search the tests by Test Result, Test File Path and Fully Qualified Name.
To open Test Explorer, click on Test->Windows->Test Explorer
Until we build the test project, no tests are visible in Test Explorer















Once we build the test project, all test appear in "Not Run Tests"














Once we run the testsusing Run, Run All or Run Selected, the execution time for each test can be seen and the tests are classified based on the test results















If we add new tests and build the test project, the new tests appear in "Not Run Tests"















We can search the tests by Test Result, Test File Path and Fully Qualified Name