<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>AnilChandra</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/anilchandra/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/anilchandra/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:48:04 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Load Test differences between  VisualStudio 2012 and VisualStudio 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/anilchandra/load-test-differences-between-visualstudio-2012-and-visualstudio-2010</link>
      <pubDate>Thu, 15 Nov 2012 01:05:00 GMT</pubDate>
      <dc:creator><![CDATA[Anil Chandra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anilchandra/2012/11/15/load-test-differences-between-visualstudio-2012-and-visualstudio-2010/</guid>
      <description><![CDATA[&nbsp;
In this post we are going to cover the differences in the Load Testing of Visual Studio 2010...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">In this post we are going to cover the differences in the Load Testing of Visual Studio 2010 (VS10) and Visual Studio 2012 (VS12).</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-size: small;"><span style="font-family: Calibri;">In VS10 you have to create a &nbsp;New Test project and then Add Load/Performance test, this feature is changed in VS12, you can directly add Web Performance and Load Test Project . Once you add <strong><em>Web Performance and Load Test Project </em></strong>you will see Web Performance Test, this is the default behavior. Once, Test Project is created then you can add more web performance / unit / load tests to it by right clicking on test project and selecting appropriate test type. Below screen shots show the difference between creating a Test Project in VS10 and VS12.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6888.Screen1VS12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6888.Screen1VS12.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6888.Screen1VS12.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6888.Screen1VS12.png" alt="" border="0" /></a></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2335.Screen1VS10.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2335.Screen1VS10.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2335.Screen1VS10.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2335.Screen1VS10.png" alt="" border="0" /></a></span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Note here, &lsquo;Add New Test&rsquo; window is deprecated in VS12 and you will not see the below screen that is part of VS10 ( Navigation: <em>Test &ndash; NewTest</em>). The only way to create a new test in VS12 is by right clicking your project and then adding a new test.</span></span></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/4527.Screen2VS10.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/4527.Screen2VS10.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/4527.Screen2VS10.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/4527.Screen2VS10.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-size: small;"><span style="font-family: Calibri;">There have been some changes in the way we associate TestController in VS12. Once we Create a Load Test in VS12, you can navigate to the LoadTest tab of IDE and click on &lsquo;Manage Test Controllers&rsquo;. &nbsp;In VS10 you have to navigate to Test tab in IDE and select &lsquo;Manage Test Controllers&rsquo;. Similarly, selecting Active Test Settings file can be done from the Load Test tab of VS12.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/1768.Screen3VS12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/1768.Screen3VS12.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/1768.Screen3VS12.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/1768.Screen3VS12.png" alt="" border="0" /></a></span></p>
<p><span style="font-family: Calibri; font-size: small;"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8838.Screen3VS10.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8838.Screen3VS10.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8838.Screen3VS10.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8838.Screen3VS10.png" alt="" border="0" /></a></span></p>
<p>&nbsp;<span style="font-family: Calibri; font-size: small;">&nbsp;</span><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;">Some additional options that are available in VS12 while creating a Load Test is the availability of IE 9.0 and IE 10.0 support under the Browser Mix tab in Load Test Wizard.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8880.Screen4VS12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8880.Screen4VS12.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8880.Screen4VS12.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8880.Screen4VS12.png" alt="" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Part 3 : Visual Studio Code Coverage</title>
      <link>https://docs.microsoft.com/archive/blogs/anilchandra/part-3-visual-studio-code-coverage</link>
      <pubDate>Thu, 18 Oct 2012 04:26:00 GMT</pubDate>
      <dc:creator><![CDATA[Anil Chandra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anilchandra/2012/10/18/part-3-visual-studio-code-coverage/</guid>
      <description><![CDATA[This post come from one of our A-Team members Kiran Kumar Grandhe
In this post we shall cover about...]]></description>
      <content:encoded><![CDATA[<p>This post come from one of our A-Team members Kiran Kumar Grandhe</p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">In this post we shall cover about the changes to the Code Coverage in Visual studio 2012 (VS12)&nbsp;from&nbsp; Visual Studio 2010(VS10). </span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">In VS 10, we needed to set the code coverage setting in a .testsettings file, it is in this file where you had specified the targets dlls for code coverage. In VS 12 the experience is far more transparent, your code is instrumented as the code gets loaded by the run time. All the code / binaries that is targeted by your tests will be instrumented and code coverage results can be viewed. </span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">In VS12 to open the Code Coverage results navigate to Test-&gt;Analyze Code Coverage -&gt; and select the test for which you would need to test the code coverage. This is much better than having to set up flags in a .testsettings file as done in VS10.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2818.CodeCoverage1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2818.CodeCoverage1.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2818.CodeCoverage1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2818.CodeCoverage1.png" border="0" /></a></span></p>
<p></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">This will start off a new run for the scripts and after the scripts are done executing; we see the results as follows. The results are shown in terms of covered blocks and can be drilled down to specific methods and clicking on the method takes you to the source code, which itself is color coded blue to show the lines are covered by the tests and red to show the code that is not covered.</span></span></p>
<p><br /><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6153.CodeCoverage2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6153.CodeCoverage2.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6153.CodeCoverage2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6153.CodeCoverage2.png" border="0" /></a></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">A Note about .testSettings file, it is still editable in VS2012, which is where you can set the targets for code coverage, you still have the option to do it.&nbsp; However, it is a deprecated feature, and these targets do not work. This feature is just to help edit the file and the UI clearly shows that this setting is only for backward compatibility for VS10.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">If you need to specify the Targets of Code coverage in VS12, you need to do this via a .runsettings file. This is a new file that has been introduced in VS12. This is done, because the .testSettings file only supports MSTEST.exe. Since VS12 supports other custom test runners (eg NUnit, xNunit) these settings will not be applied for those test runners. &nbsp;You can find more details on how to work with a .runsettings file from this </span><a href="https://msdn.microsoft.com/en-us/library/jj159530.aspx"><span style="color: #0000ff; font-family: Calibri; font-size: small;" face="Calibri" size="3" color="#0000ff">msdn link</span></a><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"> here.</span></span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/1856.CodeCoverage3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/1856.CodeCoverage3.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/1856.CodeCoverage3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/1856.CodeCoverage3.png" border="0" /></a></span></p>
<p></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Finally a word about the .coveragexml files. In VS12, the coverage data is all present in one single file and has all the data that is required. It has the information required to show what blocks are covered. Hence this file is all required to share to people who have the source code to show the covered blocks (colored). It&rsquo;s not necessary to share the instrumented dlls to show the coverage offline. </span></span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>]]></content:encoded>
    </item>
    <item>
      <title>Part2 : Visual Studio 2012 Profiler</title>
      <link>https://docs.microsoft.com/archive/blogs/anilchandra/part2-visual-studio-2012-profiler</link>
      <pubDate>Mon, 24 Sep 2012 02:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Anil Chandra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anilchandra/2012/09/24/part2-visual-studio-2012-profiler/</guid>
      <description><![CDATA[In this post, we will cover the new features added in Visual Studio 2012 (VS12)&nbsp;Profiler. In...]]></description>
      <content:encoded><![CDATA[<p><br />In this post, we will cover the new features added in Visual Studio 2012 (VS12)&nbsp;Profiler. In addition to features present in Visual Studio 2010(VS10)&nbsp;Profiling tools, VS12 also supports Windows 8 and Windows Server 2012 Apps profiling for testing, analyzing and finding performance bottlenecks.</p>
<p><br />This post gives a high level idea about profiling on Windows 8 and Windows Server 2012 platforms. Content of this post comes from one of the A-Team members Harsh Jain.</p>
<p><br />Windows 8 and Windows Server 2012 Apps (Apps) can be written in<br />a.&nbsp;JavaScript and HTML5<br />b.&nbsp;Visual C++, Visual C#, or Visual Basic</p>
<p><br />When profiling a Windows Store app that is written in JavaScript and HTML 5, Instrumentation method is used to collect data for the JavaScript code. For Windows Store app that is written in Visual C++, Visual C#, or Visual Basic, CPU sampling method is used to collect data for the native and managed code.<br /><br />Windows Store apps run on a wide variety of devices, form factors, and processor types which need not have Visual Studio installed. Profiling on Windows Store Apps can be done on local machine as well as on a remote device. Profiling on Remote Device has been introduced in VS12 for Windows Store Apps. <br />Remote profiling lets you collect performance data on any device that is connected to your Visual Studio computer over a network or that is connected directly through an Ethernet cable. When you profile remotely, Visual Studio deploys the latest build of your app. You can start your app immediately, or you can profile your app after it is started by a contract or some other process.</p>
<p><b>Steps for Profiling Win8<br />App written in JavaScript and HTML5 on Local Machine:-</b></p>
<p>1. Select ANALYZE option from Menu Bar. Click on Launch Performance Wizard.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8473.applicationImage.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8473.applicationImage.png"></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3005.pic1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3005.pic1.png"></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3782.New%20Pic.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3782.New-Pic.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3782.New%20Pic.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3782.New-Pic.png" border="0" /></a><br />&nbsp;<br />&nbsp;</p>
<p>2. Specify the Profiling method you want to use. Instrumentation option is selected by default (and recommended) when we launch Performance Wizard. Click Next.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/0181.pic9.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/0181.pic9.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/0181.pic9.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/0181.pic9.png" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8304.pic3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8304.pic3.png"></a></p>
<p>&nbsp;</p>
<p>3. Choose the module to profile. Project app will be selected by default. Click Next. In the next screen, click Finish. If you don&rsquo;t want to start profiling immediately, Uncheck &ldquo;Launch profiling after the Wizard finishes&rdquo; and click Finish.</p>
<p><br />&nbsp; <a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/5224.pic10.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/5224.pic10.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/5224.pic10.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/5224.pic10.png" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8400.pic4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8400.pic4.png"></a></p>
<p>4. Application will be launched with profiler. Execute the functionality of app.&nbsp; Use profiler session screen to pause/stop profiling as shown below</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2465.pic12.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2465.pic12.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2465.pic12.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2465.pic12.png" border="0" /></a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/7317.pic5.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/7317.pic5.png"></a>&nbsp;</p>
<p>5.Report will be displayed once you stop profiling.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6011.pic13.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6011.pic13.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6011.pic13.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6011.pic13.png" border="0" /></a></p>
<p>&nbsp;</p>
<p></p>
<p><strong>For Remote Devices</strong></p>
<p><br />Following configuration changes are required to profile a Windows 8 App on Remote Device</p>
<p><br />1.&nbsp;In Visual Studio, open the project that you want to profile.<br />2.&nbsp;On the <strong>Debug</strong> menu, choose <strong>Project Properties</strong>.<br />3.&nbsp;Choose <strong>Debugging</strong> in the <strong>Configuration Properties</strong> node.<br />4.&nbsp;From the <strong>Debugger to launch</strong> list, choose <strong>Remote Machine</strong>.<br />5.&nbsp;In the <strong>Machine Name</strong> row, type the name or IP address of the remote device.</p>
<p><br />If the remote device is on the same subnet as the Visual Studio computer, or if the device is directly connected to the Visual Studio computer, you can choose the down arrow in the row, choose the <strong>&lt;Locate...&gt;</strong> item, and then select the device on the <strong>Remote Debugger connections</strong> dialog box.</p>
<p><br />6.&nbsp;From the <strong>Debugger Type</strong> list, choose whether to profile JavaScript or Visual C++, Visual C#, or Visual Basic code in app components:<br />1.&nbsp;Choose <strong>Script only</strong> to profile JavaScript.<br />2.&nbsp;Choose any other value to profile C#/VB/C++ components of the JavaScript app.</p>
<p><br />Rest of the steps are same as profiling on Local Machine.</p>
<p><strong>Steps for Profiling Win8 App written in Visual C++, Visual C#, or Visual Basic on Local Machine</strong> :</p>
<p><br />1.Select ANALYZE option from Menu Bar. Click on Launch Performance Wizard</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/5488.pic2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/5488.pic2.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/5488.pic2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/5488.pic2.png" border="0" /></a></p>
<p>2.Specify the Profiling method you want to use. CPU Sampling option is selected by default (and recommended) when we launch Performance Wizard. Click Next.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/5543.pic3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/5543.pic3.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/5543.pic3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/5543.pic3.png" border="0" /></a></p>
<p>3.&nbsp;Choose the module to profile. Project app will be selected by default. Click Next. In the next screen, click Finish. If you don&rsquo;t want to start profiling immediately, Uncheck &ldquo;Launch profiling after the Wizard finishes&rdquo; and click Finish.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/7080.pic4.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/7080.pic4.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/7080.pic4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/7080.pic4.png" border="0" /></a><br />&nbsp;<br />4.&nbsp;Application will be launched with profiler. Execute the functionality of app.&nbsp; Use profiler session screen to pause/stop profiling as shown below</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6874.pic6.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6874.pic6.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/6874.pic6.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/6874.pic6.png" border="0" /></a></p>
<p><br />5. Report will be displayed once you stop profiling.</p>
<p><br />&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/1665.pic7.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/1665.pic7.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/1665.pic7.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/1665.pic7.png" border="0" /></a></p>
<p>&nbsp;</p>
<p><strong>For Remote Machine</strong><br />Following configuration changes are required to profile a Windows 8 App on Remote Device</p>
<p><br />1.&nbsp;On the <strong>Debug</strong> menu, choose<strong> Project Properties</strong>.<br />2.&nbsp;Choose the <strong>Debug</strong> menu item.<br />3.&nbsp;From the <strong>Target Device</strong> list, choose <strong>Remote Machine</strong>.<br />4.&nbsp;In the <strong>Remote Machine</strong> box, type the name or IP address of the remote device.</p>
<p><br />If the remote device is on the same subnet as the Visual Studio computer, or if the device is directly connected to the Visual Studio computer, you can choose <strong>Find</strong>, and then select the device on the <strong>Remote Debugger connections</strong> dialog box.</p>
<p><br /><strong>Require Authentication</strong> should always be set to <strong>Yes</strong>. Not requiring network authentication puts your network at significant risk of attacks by malicious users.</p>
<p><br />Rest of the steps are same as profiling on Local Machine.</p>
<p><br />As compared to normal profiling options and features in VS10, following are not supported when profiling Windows Store apps in VS12:</p>
<p><br />&bull;&nbsp;Profiling JavaScript apps using the sampling method.<br />&bull;&nbsp;Profiling managed and native code using the instrumentation method.<br />&bull;&nbsp;Concurrency profiling<br />&bull;&nbsp;.NET memory profiling<br />&bull;&nbsp;Tier interaction profiling (TIP)<br />&bull;&nbsp;Sampling options, such as setting the sampling event and timing interval, or collecting additional performance counter data.<br />&bull;&nbsp;Instrumentation options, such as collecting performance and windows counter data, or specifying additional command-line options.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Part 1 : Changes in Visual Studio 2012 with respect to test features</title>
      <link>https://docs.microsoft.com/archive/blogs/anilchandra/part-1-changes-in-visual-studio-2012-with-respect-to-test-features</link>
      <pubDate>Mon, 10 Sep 2012 00:31:00 GMT</pubDate>
      <dc:creator><![CDATA[Anil Chandra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anilchandra/2012/09/10/part-1-changes-in-visual-studio-2012-with-respect-to-test-features/</guid>
      <description><![CDATA[Welcome to the first post in this series which will give an overview of the differences in Visual...]]></description>
      <content:encoded><![CDATA[<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Welcome to the first post in this series which will give an overview of the differences in Visual Studio 2012 (VS12) retrospect to Visual Studio 2010 (VS10). Before, we start, a quick introduction of our workgroup, we are a group of five people who have decided to put the content of this blog. A-team consists of Amit Saxena, Anil Chandra Lingam, Chandra Sekhara Rao Aluru, Harsh Jain and Kiran Kumar Grandhe.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">In this particular post, we will cover the basic differences between VS2012 and VS2010 Test features, mostly with respect to navigation, running the tests, results and some features that have been deprecated in VS12. Let us now dive into this.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Test List Editor which is very commonly used to run tests in VS10 is deprecated in VS12 and is replaced by Test Explorer. Below screenshots show this difference with a red highlight.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2642.TestListEditorVS2010.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2642.TestListEditorVS2010.PNG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2642.TestListEditorVS2010.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2642.TestListEditorVS2010.PNG" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8867.TestListEditorVS2012.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8867.TestListEditorVS2012.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8867.TestListEditorVS2012.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8867.TestListEditorVS2012.png" border="0" /></a></span></span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3"></span>&nbsp;</p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Next question would obviously be, how do I run my tests from Test Explorer and how will this be different from VS2010. The experience of running the tests in VS12 is seemingly different from VS10 for a first time user. When you select Test Explorer in VS12 as shown in the above screen shot (Test &ndash; Windows &ndash; Test Explorer), it will open the Test Explorer window and you will see &lsquo;Run All&rsquo; or &lsquo;Run&rsquo; option to execute your tests as compared to &lsquo;Run Checked Tests&rsquo; or &lsquo;Debug Checked Tests&rsquo; in VS10. Below screen shots will show this difference</span></span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8546.RunOptions10.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8546.RunOptions10.PNG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/8546.RunOptions10.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/8546.RunOptions10.PNG" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2112.TestsFromTestExplorer12.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2112.TestsFromTestExplorer12.PNG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2112.TestsFromTestExplorer12.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2112.TestsFromTestExplorer12.PNG" border="0" /></a></span></p>
<p></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">In VS12 &lsquo;checkbox&rsquo; option is removed which means that if you want to select any particular tests to run, you have to click &lsquo;CTRL + Select&rsquo;.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">Now that we understand the differences on how to run the tests in VS12, let us look at the features that have changed in VS12 while the tests are in progress. Unlike, VS10 where the progress of the test is shown with a distinct &lsquo;In Progress&rsquo; icon, this icon is replaced in VS12 with a simple status bar. We have highlighted the differences in the below screenshots</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"></span></span><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2146.TestRun10.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2146.TestRun10.PNG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2146.TestRun10.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2146.TestRun10.PNG" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3730.TestsFromTestExplorer12.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3730.TestsFromTestExplorer12.PNG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3730.TestsFromTestExplorer12.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3730.TestsFromTestExplorer12.PNG" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/2146.TestRun10.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/2146.TestRun10.PNG"></a></span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">To this point, we have seen the changes on how to Open the tests, run the tests and progress state of the tests in VS12. Now, let us look at the changes that are included after running the tests.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">In VS10 test results would open in a TRX file when you click on the Passed/Failed tests, where you can find more details, this is replaced in VS12 with simple intuitive message at the bottom of &lsquo;Test Explorer&rsquo; window. This window also has a stack trace, in case of a failed test. Highlighted part in the below window will show the difference.</span></span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"></span></span><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3108.TestStatus10.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3108.TestStatus10.PNG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3108.TestStatus10.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3108.TestStatus10.PNG" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/0028.TestStatus12.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/0028.TestStatus12.PNG"><img alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/0028.TestStatus12.PNG" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/0028.TestStatus12.PNG" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/55/20/3108.TestStatus10.PNG" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-55-20/3108.TestStatus10.PNG"></a></span></span></p>
<p><span style="font-family: Calibri; font-size: small;" face="Calibri" size="3">&nbsp;</span></p>
<p><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri">That is it in this post, in the next post, we will be covering the differences in the Load Test of VS12 retrospect to VS10.</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Blog on Visual Studio 2012 Test Features</title>
      <link>https://docs.microsoft.com/archive/blogs/anilchandra/blog-on-visual-studio-2012-test-features</link>
      <pubDate>Wed, 05 Sep 2012 05:27:24 GMT</pubDate>
      <dc:creator><![CDATA[Anil Chandra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/anilchandra/2012/09/05/blog-on-visual-studio-2012-test-features/</guid>
      <description><![CDATA[Hi, I am Anil Chandra from MSIT working as SDET and&nbsp; a Visual Studio&nbsp;ALM Ranger, I have...]]></description>
      <content:encoded><![CDATA[<p>Hi, I am Anil Chandra from MSIT working as SDET and&nbsp; a <a title="https://blogs.msdn.com/b/willy-peter_schaub/archive/2012/06/22/introducing-the-visual-studio-alm-rangers.aspx" href="https://blogs.msdn.com/controlpanel/blogs/posteditor.aspx/Visual Studio&amp;nbsp;ALM Ranger">Visual Studio&nbsp;ALM Ranger</a>, I have decided to write a blog on Visual Studio 2012&nbsp; primarily concentrating on the test features . In the upcoming series I would like to concentrate on what are the features that have changed in Visual Studio2012 retrospect to Visual Studio 2010, rational behind having this first in the series is, I have seen a lot of my fellow testers who are very proficient in testing but finding it difficult to locate the features in 2012&nbsp; that they could map back to Visual Studio 2010.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>