<?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>shankars</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/shankars/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/shankars/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:50:33 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Using Excel Reports with Microsoft Test Manager to see test pass status of test cases linked to a work item</title>
      <link>https://docs.microsoft.com/archive/blogs/shankars/using-excel-reports-with-microsoft-test-manager-to-see-test-pass-status-of-test-cases-linked-to-a-work-item</link>
      <pubDate>Sun, 19 Jun 2011 19:55:37 GMT</pubDate>
      <dc:creator><![CDATA[Shankar MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shankars/2011/06/19/using-excel-reports-with-microsoft-test-manager-to-see-test-pass-status-of-test-cases-linked-to-a-work-item/</guid>
      <description><![CDATA[From Microsoft Test Manager, you can create a Requirement based suite to see the associated test...]]></description>
      <content:encoded><![CDATA[<p>From Microsoft Test Manager, you can create a <a href="https://msdn.microsoft.com/en-us/library/dd286578.aspx">Requirement based suite</a> to see the associated test cases for a given user story or a requirement.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/0310.User%20story%20reporting%202.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-22/0310.User-story-reporting-2.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/0310.User%20story%20reporting%202.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-22/0310.User-story-reporting-2.png" alt="" border="0" /></a></p>
<p>On the right side pane, under the Test Activity, you can see the test pass/ fail status for all test cases associated with this user story.</p>
<p><strong>Problem Statement:</strong></p>
<p>The right side pane of the Requirement based suite will only show the test case status based on whatever the tester status the tester has provided in this particular suite. If the test cases present in the Requirement based suites are also present elsewhere (in another test suite or another test plan) and you just want to see the status of these test cases (most recent pass/ fail information), Excel reports are the way to go.</p>
<p><em>Note:</em> Using the report given below, you can see the status of test cases that are associated (linked) to a generic work item, not necessarily a user story. If some test cases are linked to each other (slightly modified versions of the same test case with different iteration paths/ area paths etc) and you want to see the status of these linked test cases, the same report can also be used.</p>
<p><strong>The Excel Report:</strong></p>
<p>You can <a href="https://msdn.microsoft.com/en-us/library/ms244699.aspx">create an Excel report</a> as follows:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/8322.user%20story%20reporting.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-22/8322.user-story-reporting.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/8322.user%20story%20reporting.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-43-22/8322.user-story-reporting.png" alt="" width="440" border="0" height="566" /></a></p>
<p><em><span style="font-size: small;"><span style="font-family: Calibri;">Report Filter:</span></span></em></p>
<p><span><span style="font-family: Calibri;">1.</span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> </span><span style="font-family: Calibri;">Work Item Linked.[System_Title] &ndash; Select the the user story as the linked item. Use this filter to get all test cases linked to a user story</span></span></p>
<p><em><span style="font-size: small;"><span style="font-family: Calibri;">Row Labels:</span></span></em></p>
<p><span><span style="font-family: Calibri;">1.</span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> </span><span style="font-family: Calibri;">Test Configuration.[Configuration Name] &ndash; Test Configurations selected under the report filters.</span></span></p>
<p><span><span style="font-family: Calibri;">2.</span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> </span><span style="font-family: Calibri;">Test Case.[System_Title] &ndash; The names of all test cases, grouped by test configuration</span></span></p>
<p><em><span style="font-size: small;"><span style="font-family: Calibri;">Column Labels:</span></span></em></p>
<p><span><span style="font-family: Calibri;">1.</span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> </span><span style="font-family: Calibri;">Test Result.[Outcome] &ndash; the state of the test case (failed, passed, never run, error, blocked or aborted)</span><span style="font-family: Calibri;"> </span></span></p>
<p><em><span style="font-size: small;"><span style="font-family: Calibri;">Values:</span></span></em></p>
<p><span><span style="font-family: Calibri;">1.</span><span style="font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal; font-size-adjust: none; font-stretch: normal;"> </span><span style="font-family: Calibri;">Test. [Point Count Tread] &ndash; indicates the count of all test points (test cases x configurations) satisfying the row/ column labels</span></span></p>
<p><br /><span><span style="font-family: Calibri;"></span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Rebuilding the TFS Warehouse for Excel reports</title>
      <link>https://docs.microsoft.com/archive/blogs/shankars/rebuilding-the-tfs-warehouse-for-excel-reports</link>
      <pubDate>Sun, 19 Jun 2011 19:26:49 GMT</pubDate>
      <dc:creator><![CDATA[Shankar MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shankars/2011/06/19/rebuilding-the-tfs-warehouse-for-excel-reports/</guid>
      <description><![CDATA[You can use Excel reports with Microsoft Test Manager as described here
You need to have SQL server...]]></description>
      <content:encoded><![CDATA[<p>You can use Excel reports with Microsoft Test Manager as described <a href="https://msdn.microsoft.com/en-us/library/ms244699.aspx">here</a></p>
<p>You need to have SQL server Analysis services turned on to make Excel reports work. The Excel gets data from the Analysis Services cube, which in turn gets data from the TFS Warehouse on a periodic basis.</p>
<p>Since test results, test plan and test suites are not work items, queries in Visual Studio cannot be used to build equivalent reports.</p>
<p>If you already have SQM Server Analysis services (installed along with TFS), to rebuild the data warehouse and the Analysis Services database</p>
<p>1. Open the administration console for Team Foundation.</p>
<p>2. In the navigation bar, click Reporting.</p>
<p>3. In Reporting, click Start Rebuild.</p>
<p>4. In the Rebuild the Warehouse and Analysis Services Databases dialog box, click OK.</p>
<p>Note: The warehouses will continue to be rebuilt and the data will continue to be repopulated after the Start Rebuild action finish. Depending on the size of your deployment and the amount of data, the whole process might take several hours to complete.</p>
<p>You can also use the RebuildWarehouse command (<a href="https://msdn.microsoft.com/en-us/library/ee349264.aspx" rel="nofollow" target="_new">msdn.microsoft.com/.../ee349264.aspx</a>)</p>
<p>To configure Warehouse settings</p>
<p>Browse to https://servername:8080/tfs/TeamFoundation/Administration/v3.0/WarehouseControlService.asmx and use the GetSetting and ChangeSetting webservices to get/ set warehouse rebuild settings.</p>
<p>Related Links:</p>
<p>1. <a href="https://bartwullems.blogspot.com/2010/04/refresh-tfs-2010-warehouse.html" rel="nofollow" target="_new">bartwullems.blogspot.com/.../refresh-tfs-2010-warehouse.html</a></p>
<p>2. <a href="https://blogs.msdn.com/b/granth/archive/2010/02/07/tfs2010-warehouse-and-job-status-reports.aspx" rel="nofollow" target="_new">blogs.msdn.com/.../tfs2010-warehouse-and-job-status-reports.aspx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Using Excel reports with Microsoft Test Manager to identify test state at a test plan level</title>
      <link>https://docs.microsoft.com/archive/blogs/shankars/using-excel-reports-with-microsoft-test-manager-to-identify-test-state-at-a-test-plan-level</link>
      <pubDate>Fri, 04 Mar 2011 06:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Shankar MSFT]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/shankars/2011/03/04/using-excel-reports-with-microsoft-test-manager-to-identify-test-state-at-a-test-plan-level/</guid>
      <description><![CDATA[From Microsoft Test Manager, it is possible to identify the state of test cases (pass, fail, blocked...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">From Microsoft Test Manager, it is possible to identify the state of test cases (pass, fail, blocked etc) for a particular test suite. You can just select the test suite on the left side and the right pane would show all test cases with their test status.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/0172.img1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-43-22/0172.img1.png" border="0" /></span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><em><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Figure 1 &ndash; Selecting a test suite shows the state of all test cases in that test suite</em></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><em><o:p></o:p></em></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">However, getting the same information at a test plan level is not easy. In the Test Plan properties view, you can see a pie chart indicating the state of all test cases in a given test plan. <o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/2630.img2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-43-22/2630.img2.png" border="0" /></span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><em><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Figure 2 &ndash; Pie chart in test plan properties indicating overall state of all test cases in the test plan<o:p></o:p></em></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">But, it is not possible to drill down deeper to identify which if the test cases are failing in the test plan.<o:p></o:p></span></span></p>
<h2 style="margin: 10pt 0in 0pt;"><span style="font-size: medium;"><span style="color: #4f81bd;"><span style="font-family: Cambria;">The workaround &ndash; Creating your own Excel Reports<o:p></o:p></span></span></span></h2>
<p class="MsoNormal"><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p><span style="font-family: Calibri; font-size: small;">The workaround is to </span><a href="https://msdn.microsoft.com/en-us/library/ms244699.aspx"><span style="font-family: Calibri; color: #0000ff; font-size: small;">create a report in Excel</span></a><span style="font-size: small;"><span style="font-family: Calibri;">. In Excel, you can create a new report as shown below:<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"></span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/4848.img3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-43-22/4848.img3.png" border="0" />&nbsp;</span></span></span><span style="font-size: small;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="mso-tab-count: 1;"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <em>Figure 3 &ndash; Excel report showing state of all test cases (grouped by configurations) in a test plan</em></span></span><span style="mso-no-proof: yes;"></span></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"></span></p>
<p><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/0815.img4.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-43-22/0815.img4.png" border="0" /></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><em>Figure 4 &ndash; You can drill down to identify failing test cases in a particular test plan</em></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><em></em></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span><strong><span style="color: #365f91;"><span style="font-family: Cambria;"><span style="font-size: medium;"><span style="color: #4f81bd;"><span style="font-family: Cambria;">Steps to create this Excel&nbsp;Report</span></span></span></span></span> </strong></p>
<p class="MsoNormal"><span style="mso-no-proof: yes;"></span><o:p></o:p></p>
<p><span style="font-size: small;"><span style="font-family: Calibri;"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/43/22/2746.img5.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-43-22/2746.img5.png" border="0" /></span></span></p>
<p class="MsoNormal">&nbsp;<span style="font-size: small;"><span style="font-family: Calibri;"><em>Figure 5 &ndash; The PivotTable used to create the Excel Report<o:p></o:p></em></span></span></p>
<p class="MsoNormal"><span style="font-family: Calibri; font-size: small;">Once you&rsquo;ve created a PivotTable report (steps 1 to 6 given </span><a href="https://msdn.microsoft.com/en-us/library/ms244699.aspx"><span style="font-family: Calibri; color: #0000ff; font-size: small;">here</span></a><span style="font-size: small;"><span style="font-family: Calibri;">), you can create a report with the following fields:<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Report Filter:<o:p></o:p></strong></span></span></p>
<p class="MsoListParagraphCxSpFirst"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">1.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Team Project. [Team Project Hierarchy] &ndash; Select the team project for the report<o:p></o:p></span></span></p>
<p class="MsoListParagraphCxSpLast"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">2.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Test Suite.[Test Suite Hierarchy] &ndash; Drill down to select the test plan for the report.<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Row Labels:<o:p></o:p></strong></span></span></p>
<p class="MsoListParagraphCxSpFirst"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">1.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Test Configuration.[Configuration Name] &ndash; Test Configurations selected under the report filters.<o:p></o:p></span></span></p>
<p class="MsoListParagraphCxSpLast"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">2.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Test Case.[System_Title] &ndash; The names of all test cases, grouped by test configuration<o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Column Labels:<o:p></o:p></strong></span></span></p>
<p class="MsoListParagraphCxSpFirst"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">1.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Test Result.[Outcome] &ndash; the state of the test case (failed, passed, never run, error, blocked or aborted)</span></span><o:p><span style="font-family: Calibri; font-size: small;">&nbsp;</span></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"><strong>Values:<o:p></o:p></strong></span></span></p>
<p class="MsoListParagraph"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"><span style="font-family: Calibri; font-size: small;">1.</span><span style="font: 7pt 'Times New Roman';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Test. [Point Count Tread] &ndash; indicates the count of all test points (test cases x configurations) satisfying the row/ column labels<o:p></o:p></span></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>