<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio Team Test</title><link>http://blogs.msdn.com/vstsqualitytools/default.aspx</link><description>We build the testing tools in Visual Studio</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>How to remove unwanted actions from the recording in Manual Test Runner/MTLM?</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/23/how-to-remove-unwanted-actions-from-the-recording-in-manual-test-runner-mtlm.aspx</link><pubDate>Wed, 23 Dec 2009 17:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9940016</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9940016.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9940016</wfw:commentRss><description>&lt;p&gt;&lt;font color="#000080"&gt;If you were recording your application while doing manual testing inside MTLM, you must have come across a scenario where you wanted to clean up your recording by deleting a few unnecessary actions that were recorded inadvertently. In the example below, I illustrate a case where I opened msn.com and searched for a string – an extra mouse hover has been recorded over the search text box. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/anutthara/WindowsLiveWriter/GSJGD_1072F/image_2.png"&gt;&lt;img style="border-right-width: 0px; margin: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/anutthara/WindowsLiveWriter/GSJGD_1072F/image_thumb.png" width="304" height="345" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;Now, there are 2 options:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;1. Don’t edit the recording –&amp;#160; since the tool is smart enough to ignore failed hovers during playback and won’t interfere with your test playing back.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;2. Edit the recording and delete the extra action – this is useful in cases where the extra action(s) are to dismiss one-time dialogs like the “Do you want to remember passwords” dialog for IE that can be suppressed for future times. Now, if you encounter that dialog during record, but are sure you won’t hit it during playback, you can delete this action from your recording. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;Just expand the section at the bottom of MTR to reveal the list of actions being recorded. Select the action to delete and right click –&amp;gt; delete action. There you go – your recording will now be devoid of the extra action.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;- Anu &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;Cross posted from &lt;a href="http://blogs.msdn.com/anutthara"&gt;Musings of a tester testing test tools&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9940016" width="1" height="1"&gt;</description></item><item><title>Running tests in mstest without installing the VS IDE</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/22/running-tests-in-mstest-without-installing-the-vs-ide.aspx</link><pubDate>Tue, 22 Dec 2009 11:53:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9940018</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9940018.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9940018</wfw:commentRss><description>&lt;p&gt;&lt;font color="#000080"&gt;Yes, you CAN run your unit tests or any other VS test type on a machine without having Visual Studio IDE installed on that machine. You need the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=165574"&gt;Visual Studio Team Agent&lt;/a&gt; to be installed on your test machine to run your tests. This is a 15 min lightweight install and is pretty easy to &lt;a href="http://msdn.microsoft.com/en-us/library/dd648127(VS.100).aspx"&gt;configure&lt;/a&gt;. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;Those of you familiar with remote testing from our previous versions, will already know that &lt;a href="http://msdn.microsoft.com/en-us/library/dd293551(VS.100).aspx"&gt;you can trigger a test run on the client to run tests on a remote machine&lt;/a&gt; with the test agent installed. Just use the test settings to point to a test agent where your tests can run remotely. With the VS Team Agent installed on machine A and the client (VS Ultimate or Pro or Test Elements) installed on machine B, you can run tests remotely on A by triggering the run from client B. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;Another alternate scenario where you would want to run tests without having the Visual Studio IDE installed is during builds. If you use Team Build to do builds and run tests as part of your build process, you can setup the build agent on a machine with no VS IDE installed. You can now go ahead and run all your tests without any additional installs on the build machine in VS 2010. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;What if you want to run mstest from the command line though? You can choose to run mstest.exe from either the test agent or the build agent to run tests, but note that you can run only the unit test and ordered test types. &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;- Anu &lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font color="#000080"&gt;Cross posted from &lt;a href="http://blogs.msdn.com/anutthara"&gt;Musings of a tester testing test tools&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9940018" width="1" height="1"&gt;</description></item><item><title>How Test Case result is computed in Test Runner?</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/21/how-test-case-result-is-computed-in-test-runner.aspx</link><pubDate>Mon, 21 Dec 2009 16:04:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9939631</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9939631.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9939631</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/21/how-test-case-result-is-computed-in-test-runner.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;p&gt;&lt;em&gt;“I’ve NOT marked any test step BUT test case result is auto-computed as passed sometimes and failed sometimes.“&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;“I’ve marked a few test steps to pass / fail but auto-computed test case result is not what I had expected&lt;/em&gt;.”&lt;/p&gt;  &lt;p&gt;Have you also faced&lt;strong&gt; &lt;/strong&gt;similar kind of issues around auto-computation of test case result? Do you find test case auto-computation logic confusing sometimes? if yes then it won’t be any longer confusing for you &lt;strong&gt;after&lt;/strong&gt; reading this post :)&lt;/p&gt;  &lt;p&gt;Before understanding test result auto-computation logic, you need to understand difference between the simple test steps and validation test steps. While &lt;a href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx"&gt;creating a test case&lt;/a&gt; in Microsoft Test and Lab Manager you can list the action and the expected result for each test step in your manual test case:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Under Action, there is action that the tester takes to perform this test step. &lt;/li&gt;    &lt;li&gt;Under Expected Result &lt;i&gt;(Optional)&lt;/i&gt;, there is result that user should expect after the action has been performed. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Simple test steps just have an action assigned to them and expected results is &lt;strong&gt;NOT&lt;/strong&gt; set for them. If you set expected results for a test step, it automatically becomes a validation test step&lt;strong&gt; (shown by the red check mark on the step icon). &lt;/strong&gt;E.g. in test case shown below, 2&lt;sup&gt;nd&lt;/sup&gt; and 4&lt;sup&gt;th&lt;/sup&gt; are validation test steps whereas 1&lt;sup&gt;st&lt;/sup&gt; and 3&lt;sup&gt;rd&lt;/sup&gt; are normal test steps:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/HowTestCaseresultiscomputedinTestRunner_12EA0/image_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/HowTestCaseresultiscomputedinTestRunner_12EA0/image_thumb.png" width="601" height="166" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="file:///C:\Documents%20and%20Settings\work\Local%20Settings\Temp\WindowsLiveWriter-429641856\supfiles35249D\image9.png"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In &lt;a href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/a&gt; also validation test steps are differentiated from normal test steps by an extra red check mark on the test step result icon as shown below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/HowTestCaseresultiscomputedinTestRunner_12EA0/image_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/HowTestCaseresultiscomputedinTestRunner_12EA0/image_thumb_1.png" width="465" height="183" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="file:///C:\Documents%20and%20Settings\work\Local%20Settings\Temp\WindowsLiveWriter-429641856\supfiles35249D\image5.png"&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So now as you understand the difference between validation test steps and normal test steps, this is simple algo used for auto-computation of test case results in &lt;a href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/a&gt;:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;If your test case has ZERO validation test steps then your test case result will be auto-computed as “Passed” unless you’ve explicitly marked one / more test steps as failed. &lt;/li&gt;    &lt;li&gt;If your test case has one / more validation test steps then your test case result will be auto-computed as “Passed” if and only if:      &lt;ul&gt;       &lt;li&gt;&lt;b&gt;ALL &lt;/b&gt;validate test steps as marked as passed &lt;/li&gt;        &lt;li&gt;&lt;strong&gt;NO&lt;/strong&gt; other test step is marked as failed &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;b&gt;In short&lt;/b&gt;, &lt;b&gt;it is mandatory to mark Validation Test Steps. If you don’t mark any validate test step to pass / fail then it is considered as FAILED so please do mark ALL validation test steps in your test case to ensure that test case result is auto-computed properly.&lt;/b&gt;&lt;/p&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/21/how-test-case-result-is-computed-in-test-runner.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9939631" width="1" height="1"&gt;</description></item><item><title>Another Prerelease Of VS10</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/18/another-prerelease-of-vs10.aspx</link><pubDate>Fri, 18 Dec 2009 18:45:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9938871</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9938871.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9938871</wfw:commentRss><description>&lt;p&gt;We’re very excited about the recently announced plans to make a publicly available RC (release candidate) of VS10. We’ve done a lot of work since Beta 2 went out, and we’ve been cranking on bug fixes as well as integrating customer feedback.&lt;/p&gt;  &lt;p&gt;For more information, check out these blog posts by Soma, Scott, and Brian.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/somasegar/archive/2009/12/17/visual-studio-2010-and-net-framework-4-beta-period-extended.aspx"&gt;http://blogs.msdn.com/somasegar/archive/2009/12/17/visual-studio-2010-and-net-framework-4-beta-period-extended.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2009/12/17/visual-studio-2010-and-net-4-0-update.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2009/12/17/visual-studio-2010-and-net-4-0-update.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/bharry/archive/2009/12/17/vs-2010-net-4-public-release-candidate-planned.aspx"&gt;http://blogs.msdn.com/bharry/archive/2009/12/17/vs-2010-net-4-public-release-candidate-planned.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9938871" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vstsqualitytools/archive/tags/Test+and+Lab+Manager/default.aspx">Test and Lab Manager</category><category domain="http://blogs.msdn.com/vstsqualitytools/archive/tags/VSTS2010/default.aspx">VSTS2010</category></item><item><title>Blogger Dandino Discovers Shared Steps</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/16/blogger-dandino-discovers-shared-steps.aspx</link><pubDate>Wed, 16 Dec 2009 06:18:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9937489</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9937489.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9937489</wfw:commentRss><description>&lt;p&gt;&lt;a title="http://blog.nfocus.co.uk/2009/12/share-and-share-alike.html" href="http://blog.nfocus.co.uk/2009/12/share-and-share-alike.html" target="_blank"&gt;http://blog.nfocus.co.uk/2009/12/share-and-share-alike.html&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9937489" width="1" height="1"&gt;</description></item><item><title>How can I configure MTLM to use my custom bug / test case type?</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/15/how-can-i-configure-mtlm-to-use-my-custom-bug-test-case-type.aspx</link><pubDate>Tue, 15 Dec 2009 12:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9937001</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9937001.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9937001</wfw:commentRss><description>&lt;B&gt;Note:&lt;/B&gt; Cross posted from &lt;A href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/A&gt;. &lt;BR&gt;&lt;A href="http://blogs.msdn.com/rubel/archive/2009/12/15/how-can-i-configure-mtlm-to-use-my-custom-bug-test-case-type.aspx"&gt;Permalink&lt;/A&gt; &lt;BR&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNoSpacing&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;STRONG&gt;How can I configure MTLM to use my custom bug / test case type?&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNoSpacing&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;I got this Q on my &lt;A href="http://blogs.msdn.com/rubel/archive/2009/12/11/how-to-delete-a-test-case-any-other-work-item.aspx" mce_href="http://blogs.msdn.com/rubel/archive/2009/12/11/how-to-delete-a-test-case-any-other-work-item.aspx"&gt;previous blog&lt;/A&gt; and thought of posting a separate post on it as it's a bit tricky to do it and hence other folks may need this info.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;In &lt;A href="http://msdn.microsoft.com/en-us/library/bb385901(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb385901(VS.100).aspx"&gt;Microsoft Test and Lab Manager (MTLM),&lt;/A&gt; we don’t provide any &lt;STRONG&gt;UI way &lt;/STRONG&gt;to set a particular work item type as default work item type for a category. Basically, if I’ve added a new bug type say “CustomBug” to TFS and want MTLM to refer to that type always while opening a new bug etc then there is no &lt;STRONG&gt;UI way&lt;/STRONG&gt; to achieve it. &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3 face=Calibri&gt;But yes, you can do it through &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/dd273721(VS.100).aspx"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;witadmin using &lt;SPAN style="mso-bidi-font-weight: bold"&gt;importcategories / exportcategories command.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;First you need to exports the XML definition of categories defined on the Team Foundation Server by using exportcategories command e.g. &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3 face=Calibri&gt;The following command exports the work item type categories defined for the AdventureWorks project to the Categories XML file: &lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN style="COLOR: #00b050"&gt;&lt;FONT face=Calibri&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNoSpacing&gt;&lt;FONT size=3&gt;&lt;SPAN style="COLOR: #00b050"&gt;C:\Program Files\Microsoft Visual Studio 10.0\VC&amp;gt;witadmin exportcategories /collection:"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #00b050"&gt;&lt;A href="http://adventureworksserver:8080/AWTeam/Collection1"&gt;http://AdventureWorksServer:8080/AWTeam/Collection1&lt;/A&gt;”&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNoSpacing&gt;&lt;FONT size=3&gt;&lt;SPAN style="COLOR: #00b050"&gt;/p:AdventureWorks /f:"Categories.xml" 
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Categories.xml will look this: &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;xml&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;version&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;1.0&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;utf-8&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;?&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;cat:CATEGORIES&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;xmlns:cat&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/categories&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.BugCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Bug Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Bug&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.RequirementCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Requirement Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;User Story&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.SharedStepCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Shared Step Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Shared Steps&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.TestCaseCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Test Case Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Test Case&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;cat:CATEGORIES&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;As you can see that there is default work item type for each category like Bug, Test Case, Shared Step. &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3 face=Calibri&gt;You just need to modify the xml file so as to point &lt;/FONT&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;FONT size=3 face=Calibri&gt;of&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;required category to yours newly created work item type. E.g. If I want to use work item type &lt;B style="mso-bidi-font-weight: normal"&gt;CustomBug&lt;/B&gt; as default work item type for Bug category then my modified XML will look like this:&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;xml&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;version&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;1.0&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;utf-8&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;?&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;cat:CATEGORIES&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;xmlns:cat&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;http://schemas.microsoft.com/VisualStudio/2008/workitemtracking/categories&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.BugCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Bug Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="BACKGROUND: yellow; mso-highlight: yellow"&gt;&amp;lt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; BACKGROUND: yellow; COLOR: #a31515; FONT-SIZE: 9.5pt; mso-highlight: yellow"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; BACKGROUND: yellow; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: yellow"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; BACKGROUND: yellow; COLOR: red; FONT-SIZE: 9.5pt; mso-highlight: yellow"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; BACKGROUND: yellow; COLOR: blue; FONT-SIZE: 9.5pt; mso-highlight: yellow"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; BACKGROUND: yellow; FONT-SIZE: 9.5pt; mso-highlight: yellow"&gt;"&lt;SPAN style="COLOR: blue"&gt;CustomBug&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.RequirementCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Requirement Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;User Story&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.SharedStepCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Shared Step Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Shared Steps&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;refname&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Microsoft.TestCaseCategory&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;name&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Test Case Category&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;DEFAULTWORKITEMTYPE&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: red; FONT-SIZE: 9.5pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Test Case&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;CATEGORY&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; FONT-SIZE: 9.5pt"&gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: #a31515; FONT-SIZE: 9.5pt"&gt;cat:CATEGORIES&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: consolas; COLOR: blue; FONT-SIZE: 9.5pt"&gt;&amp;gt; &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;After that you just need to import this XML back into team project of TFS using &lt;SPAN style="mso-bidi-font-weight: bold"&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/dd273721(VS.100).aspx"&gt;importcategories&lt;/A&gt;. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;e.g. The following example imports categories from the myCategories XML file to the AdventureWorks project:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNoSpacing&gt;&lt;FONT size=3&gt;&lt;SPAN style="COLOR: #00b050"&gt;C:\Program Files\Microsoft Visual Studio 10.0\VC&amp;gt;witadmin importcategories /collection:"&lt;/SPAN&gt;&lt;SPAN style="COLOR: #00b050"&gt;&lt;A href="http://adventureworksserver:8080/AWTeam/Collection1"&gt;http://AdventureWorksServer:8080/AWTeam/Collection1&lt;/A&gt;”&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="MARGIN: 0cm 0cm 0pt" class=MsoNoSpacing&gt;&lt;FONT size=3&gt;&lt;SPAN style="COLOR: #00b050"&gt;/p:AdventureWorks /f:"Categories.xml" 
&lt;P mce_keep="true"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;Now if you open any bug in Test Runner / MTLM then it will open your CustomBug work item type form instead of default bug form. &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;Similarly you can do required changes to use customized Test Case / any other work item. &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;Required Permissions &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;For the team project where the work item types are defined, you must have the following permissions set: &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: symbol; mso-bidi-font-family: symbol; mso-fareast-font-family: symbol"&gt;&lt;SPAN style="mso-list: ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT face=Calibri&gt;&lt;FONT size=3&gt;To export categories of work item types, you must be a member of the Readers group or have your View work items in this node permission set to Allow &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN style="FONT-FAMILY: symbol; mso-bidi-font-family: symbol; mso-fareast-font-family: symbol"&gt;&lt;SPAN style="mso-list: ignore"&gt;&lt;FONT size=3&gt;·&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;To import categories of work item types, you must be a member of the Team Foundation Administrators security group or the Project Administrators security group. &lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3 face=Calibri&gt;For more details on TFS permissions check &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms252587(VS.100).aspx"&gt;&lt;FONT size=3 face=Calibri&gt;here&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;B&gt;Note:&lt;/B&gt; Cross posted from &lt;A href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/A&gt;. &lt;BR&gt;&lt;A href="http://blogs.msdn.com/rubel/archive/2009/12/15/how-can-i-configure-mtlm-to-use-my-custom-bug-test-case-type.aspx"&gt;Permalink&lt;/A&gt; &lt;BR&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9937001" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vstsqualitytools/archive/tags/Testing/default.aspx">Testing</category><category domain="http://blogs.msdn.com/vstsqualitytools/archive/tags/VSTS2010+Beta+2/default.aspx">VSTS2010 Beta 2</category><category domain="http://blogs.msdn.com/vstsqualitytools/archive/tags/Microsoft+Test+and+Lab+Manager+_2800_MTLM_2900_/default.aspx">Microsoft Test and Lab Manager (MTLM)</category><category domain="http://blogs.msdn.com/vstsqualitytools/archive/tags/Test+Runner/default.aspx">Test Runner</category></item><item><title>Is Coded UI Test under Load Test supported?</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/15/is-coded-ui-test-under-load-test-supported.aspx</link><pubDate>Tue, 15 Dec 2009 12:03:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9936987</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9936987.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9936987</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/gautamg"&gt;Gautam Goenka (MSFT)&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/gautamg/archive/2009/12/14/is-coded-ui-test-under-load-test-supported.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;p&gt;&lt;p&gt;I have seen multiple queries on “Is running Coded UI Test under Load Test supported?”.&lt;/p&gt;  &lt;p&gt;Well, the short answer is – &lt;strong&gt;yes&lt;/strong&gt;, it is supported with &lt;strong&gt;restriction of one user-load per test agent&lt;/strong&gt; and in most cases it &lt;span&gt;...&lt;/span&gt;&lt;/p&gt;&lt;/p&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/gautamg"&gt;Gautam Goenka (MSFT)&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/gautamg/archive/2009/12/14/is-coded-ui-test-under-load-test-supported.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9936987" width="1" height="1"&gt;</description></item><item><title>Reinstalling your Test Controller keeping environments intact</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/14/reinstalling-your-test-controller-keeping-environments-in-tact.aspx</link><pubDate>Mon, 14 Dec 2009 17:36:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9936628</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9936628.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9936628</wfw:commentRss><description>&lt;P&gt;So you have probably quickly found out that if you ever have to rebuild your test controller isn’t possible from the installer provided.&lt;/P&gt;
&lt;P&gt;Here are some steps to help make the process a little easier:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Locate the QTControllerConfig.xml file and back it up to a safe location.&amp;nbsp; This file is usually located in your Visual Studio install location in the Common7\IDE folder.&lt;/LI&gt;
&lt;LI&gt;Rebuild the machine with the same name as needed&lt;/LI&gt;
&lt;LI&gt;Reinstall the test controller on the machine you just built out.&lt;/LI&gt;
&lt;LI&gt;Replace the default QTControllerConfig.xml file on the machine with the file you backed up in step 1&lt;/LI&gt;
&lt;LI&gt;Restart the machine.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Bruce Taimana &lt;BR&gt;Visual Studio Test Team &lt;BR&gt;Program Manager&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9936628" width="1" height="1"&gt;</description></item><item><title>How to delete a Test Case / any other Work Item?</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/11/how-to-delete-a-test-case-any-other-work-item.aspx</link><pubDate>Fri, 11 Dec 2009 10:29:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9935605</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9935605.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9935605</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/11/how-to-delete-a-test-case-any-other-work-item.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;p&gt;I saw some Qs on forums asking about how to delete a &lt;a href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx"&gt;test case&lt;/a&gt; from MTLM &lt;a href="http://msdn.microsoft.com/en-us/library/bb385901(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/bb385901(VS.100).aspx"&gt;(Microsoft Test and Lab Manager).&lt;/a&gt; Please note that you can’t delete a &lt;a href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx"&gt;test case&lt;/a&gt; from MTLM. But as &lt;a href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx"&gt;test case&lt;/a&gt; is eventually a work item so you can achieve the same using &lt;a href="http://msdn.microsoft.com/en-us/library/dd236914(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd236914(VS.100).aspx"&gt;witadmin&lt;/a&gt; provided you’ve admin permissions. &lt;b&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd236914(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd236914(VS.100).aspx"&gt;witadmin&lt;/a&gt;&lt;/b&gt; is a command-line utility and is located in %Program Files%\Microsoft Visual Studio 10.0\Common7\IDE. Please note that this is an &lt;b&gt;admin&lt;/b&gt; operation and we don’t encourage using it a lot in general. The usual guideline is to close the obsolete / not required test cases and move it out of your test suite.&lt;/p&gt;  &lt;p&gt;Anyhow, here is the way to delete the &lt;a href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286659(VS.100).aspx"&gt;test case&lt;/a&gt; or any other work item using &lt;a href="http://msdn.microsoft.com/en-us/library/dd236914(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd236914(VS.100).aspx"&gt;witadmin&lt;/a&gt;:&lt;/p&gt;  &lt;p&gt;witadmin destroywi /collection:CollectionURL /id:id [/noprompt]&lt;/p&gt;  &lt;p&gt;The following example deletes the work items with IDs, 12, 15, and 23 from the database for Collection1 on the AdventureWorksServer server:&lt;/p&gt;  &lt;p&gt;witadmin destroywi /collection:http://AdventureWorksServer:8080/AWTeam/Collection1 /id:12,15,23&lt;/p&gt;  &lt;p&gt;You can read in detail about permanently removing work items using witadmin &lt;a href="http://msdn.microsoft.com/en-us/library/dd236908(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd236908(VS.100).aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/11/how-to-delete-a-test-case-any-other-work-item.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9935605" width="1" height="1"&gt;</description></item><item><title>Logging a message in test result as part of an automated test</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/09/logging-a-message-in-test-result-as-part-of-an-automated-test.aspx</link><pubDate>Wed, 09 Dec 2009 06:44:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934432</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9934432.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9934432</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/gautamg"&gt;Gautam Goenka (MSFT)&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/gautamg/archive/2009/12/08/logging-a-message-in-test-result-as-part-of-an-automated-test.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;p&gt;&lt;p&gt;Multiple folks have asked in forums on how to log a message from a Coded UI Test for tracing\debugging purpose.  I know of as many as 5 ways of doing this from any test type (Coded UI Test, Unit Test etc).  Try this code out -&lt;span&gt;...&lt;/span&gt;&lt;/p&gt;&lt;/p&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/gautamg"&gt;Gautam Goenka (MSFT)&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/gautamg/archive/2009/12/08/logging-a-message-in-test-result-as-part-of-an-automated-test.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9934432" width="1" height="1"&gt;</description></item><item><title>Test Runner- Using Global Shortcut Keys</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/09/test-runner-using-global-shortcut-keys.aspx</link><pubDate>Wed, 09 Dec 2009 05:31:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934414</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9934414.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9934414</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/08/using-test-runner-global-shortcut-keys.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;P&gt;While executing a test case in &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt; you’ll have to mark test steps and browse through test steps quite frequently. It won’t be very good experience for tester if he has to move focus back and forth from AuT to &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt;&lt;EM&gt; &lt;/EM&gt;and &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt;&lt;EM&gt; &lt;/EM&gt;to AuT. To solve this issue, we’ve provided &lt;I&gt;Global HotKeys&lt;/I&gt; for some frequently used operations in &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;1. Pass Active Test Step: Win+Ctrl+Q&lt;/P&gt;
&lt;P&gt;2. Fail Active Test Step: Win+Ctrl+W&lt;/P&gt;
&lt;P&gt;3. Move to Next Test Step: Win+Ctrl+X&lt;/P&gt;
&lt;P&gt;4. Move to Previous Test Step: Win+Ctrl+Z&lt;/P&gt;
&lt;P&gt;5. Capture Image: Win+Ctrl+C&lt;/P&gt;
&lt;P&gt;Please note that Global HotKeys are system-wide hotkeys and enables us to perform action on an application even if focus is &lt;B&gt;NOT&lt;/B&gt; on that application. So if you working over your AuT and want to mark a test step to pass in Test Runner then you can simply use “Win+Ctrl+Q” for it &lt;B&gt;without moving focus to Test Runner&lt;/B&gt; &lt;B&gt;window&lt;/B&gt;. We’ve kept these global hotkeys limited because we shouldn’t register too many global hotkeys for any application. This is because more global shortcut keys an app registers more chances are there for collision of its global shortcut keys with other applications which may have already registered that key. &lt;/P&gt;
&lt;P&gt;You can face Global shortcut key registration failure while starting &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt; if you already have some app running on your box which has registered one / more keys out of the 5 keys mentioned above. In that scenario you’ll see this message box while starting &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt;&lt;EM&gt; &lt;/EM&gt;from MTLM &lt;I&gt;(Microsoft Test and Lab Manager)&lt;/I&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/UsingTestRunnerGlobalShortcutKeys_12FBA/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/UsingTestRunnerGlobalShortcutKeys_12FBA/image_2.png"&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title=image border=0 alt=image src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/UsingTestRunnerGlobalShortcutKeys_12FBA/image_thumb.png" width=323 height=215 mce_src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/UsingTestRunnerGlobalShortcutKeys_12FBA/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;As it is clear from the message box content you need to modify the global hotkeys for &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt;&lt;EM&gt; &lt;/EM&gt;from the mtlm.exe.config file which is present at:&lt;/P&gt;
&lt;P&gt;%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE&lt;/P&gt;
&lt;P&gt;You’ll see there entries for global keys as shown below:&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- Global Pass Test Step Hot Keys--&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="GlobalPassTestStep" value="Windows, Control, Q"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- Global Fail Test Step Hot Keys--&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="GlobalFailTestStep" value="Windows, Control, W"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- Global Move To Next Test Step Hot Keys--&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="GlobalNextTestStep" value="Windows, Control, X"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- Global Move To Previous Test Step Hot Keys--&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="GlobalPreviousTestStep" value="Windows, Control, Z"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- Global Capture Image Hot Keys--&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="GlobalCaptureImage" value="Windows, Control, C"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;You need to modify the clashing entry so as to use some other key and restart MTLM.&lt;/P&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/08/using-test-runner-global-shortcut-keys.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9934414" width="1" height="1"&gt;</description></item><item><title>How To: Enable Tracing for “UI Test” Components</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/09/how-to-enable-tracing-for-ui-test-components.aspx</link><pubDate>Wed, 09 Dec 2009 05:26:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934410</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9934410.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9934410</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/gautamg/default.aspx"&gt;Gautam's Blog&lt;/a&gt;.     &lt;br /&gt;&lt;a href="http://blogs.msdn.com/gautamg/archive/2009/11/29/how-to-enable-tracing-for-ui-test-components.aspx"&gt;Permalink&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Like any other good product, the Testing Tools in VS also have tracing support to generate the extra trace logs that can help the product team debug the customer issues better.&amp;#160; Though this trace logs could be used by the customers in certain scenarios, these are meant for the product team only.&amp;#160; When reporting a bug or asking for support from the product team via forums or other channels, it is always good to generate the repro with the tracing ON and submit these trace logs too.&lt;/p&gt;  &lt;p&gt;Below are various different ways to enable tracing -&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;The quick and easiest way to enable tracing for all Testing Tools in VS is to use the &lt;a href="http://blogs.msdn.com/gautamg/attachment/9930028.ashx" target="_blank"&gt;registry files in the zip attached&lt;/a&gt;. The zip has two files – one to enable and another to disable tracing. &lt;strong&gt;&lt;font color="#ff0000"&gt;SECURITY WARNING&lt;/font&gt;&lt;/strong&gt; – Please validate the registry file before importing. The registry file is -       &lt;table style="width: 479px; height: 107px" border="1" cellspacing="0" cellpadding="2" width="479"&gt;&lt;tbody&gt;         &lt;tr&gt;           &lt;td valign="top" width="607"&gt;             &lt;p&gt;&lt;font color="#800000"&gt;Windows Registry Editor Version 5.00 &lt;/font&gt;&lt;/p&gt;              &lt;p&gt;&lt;font color="#800000"&gt;[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\EnterpriseTools\QualityTools\Diagnostics]                  &lt;br /&gt;&amp;quot;&lt;strong&gt;EnableTracing&lt;/strong&gt;&amp;quot;=dword:00000001                   &lt;br /&gt;&amp;quot;&lt;strong&gt;TraceLevel&lt;/strong&gt;&amp;quot;=dword:00000004 &lt;/font&gt;&lt;/p&gt;           &lt;/td&gt;         &lt;/tr&gt;       &lt;/tbody&gt;&lt;/table&gt;      &lt;p&gt;In the above, the &lt;strong&gt;EnableTracing&lt;/strong&gt; variable controls whether tracing is ON or OFF.&lt;/p&gt;      &lt;ul&gt;       &lt;li&gt;1 means tracing is ON &lt;/li&gt;        &lt;li&gt;And 0 means OFF. &lt;/li&gt;     &lt;/ul&gt;      &lt;p&gt;The &lt;strong&gt;TraceLevel&lt;/strong&gt; variable is for level (granularity) of tracing.&lt;/p&gt;      &lt;ul&gt;       &lt;li&gt;1 means Errors only &lt;/li&gt;        &lt;li&gt;2 is Errors and Warnings &lt;/li&gt;        &lt;li&gt;3 is Errors, Warnings and Information &lt;/li&gt;        &lt;li&gt;4 is All including Verbose Information &lt;/li&gt;     &lt;/ul&gt;      &lt;p&gt;Typically for reporting issues, it is good to set it to 4.&amp;#160; Once you have reported the issue, you should turn the tracing off by changing EnableTracing to 0.&amp;#160; Alternatively, use the DisableTrace.reg file in the attached zip.&lt;/p&gt;   &lt;/li&gt;    &lt;li&gt;Set &lt;strong&gt;EqtTraceLevel&lt;/strong&gt; or &lt;strong&gt;UITestTraceLevel&lt;/strong&gt; switch as appropriate in the corresponding *.exe.config file.&amp;#160; (Typically these values are there towards the end in the config files.)&amp;#160; The EqtTraceLevel will turn tracing ON for all Testing Tools modules of the executable whereas UITestTraceLevel will turn ON the tracing for only the UI Test modules of the executables.&amp;#160; Here the EqtTraceLevel and UITestTraceLevel has the same 1-4 values like the TraceLevel variable above. &lt;/li&gt; &lt;/ol&gt;  &lt;blockquote&gt;   &lt;p&gt;The following are the *.exe.config that you need to modify depending on your scenario -&lt;/p&gt;    &lt;ul&gt;     &lt;li&gt;For Action Log and Fast Forward feature of MTLM – mtlm.exe.config &lt;/li&gt;      &lt;li&gt;For recording\assertion in Coded UI Test Builder – CodedUITestBuilder.exe.config. &lt;/li&gt;      &lt;li&gt;For playback of Coded UI Test - QTAgent.exe.config. (Note – In case of remote playback, you need to modify QTAgent.exe.config of the remote machine.) &lt;/li&gt;   &lt;/ul&gt;    &lt;p&gt;All the above config files are located at “&lt;strong&gt;%ProgramFiles%\Microsoft Visual Studio 10.0&lt;/strong&gt;\Common7\IDE” where the part in bold is the default installation directory.&amp;#160; If you have changed the installation directory of the product, you need to replace it appropriately here too. To disable you will have to turn off the setting in the same file.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Note that for trace settings changes to take affect, the executable (VS or MTLM or others) need to closed and restarted.&lt;/p&gt;  &lt;p&gt;For UI Test, the trace file is generated in %temp%\UITestLogs\*\LastRun\UITestLog.html where * could be empty for VS or could be exe name like CodedUITestBuilder for other cases.&amp;#160; The LastRun here indicates that this is THE file for last run – the earlier ones would be stored as PreviousRunXX.&amp;#160; The tool automatically cleans up old trace file if it exceeds ‘n’ (today it is 25) previous runs.&lt;/p&gt; &lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/gautamg/default.aspx"&gt;Gautam's Blog&lt;/a&gt;.   &lt;br /&gt;&lt;a href="http://blogs.msdn.com/gautamg/archive/2009/11/29/how-to-enable-tracing-for-ui-test-components.aspx"&gt;Permalink&lt;/a&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9934410" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/vstsqualitytools/archive/tags/Coded+UI+Test/default.aspx">Coded UI Test</category></item><item><title>Troubleshooting Data Diagnostic Adapters- Log is not getting generated?</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/07/troubleshooting-data-diagnostic-adapters-log-is-not-getting-generated.aspx</link><pubDate>Mon, 07 Dec 2009 05:42:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933279</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9933279.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9933279</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/06/troubleshooting-data-diagnostic-adapters.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;p&gt;As I had mentioned in my earlier posts that you can enable a number of &lt;a href="http://msdn.microsoft.com/en-us/library/dd286743(VS.100).aspx"&gt;Diagnostic Data Adapters&lt;/a&gt; in &lt;a href="http://msdn.microsoft.com/en-us/library/ee231892(VS.100).aspx"&gt;test setting&lt;/a&gt; so as to collect various types of data while running tests in Test Runner. Sometimes it is confusing if you don’t get any log from a diagnostic data adapter though you’ve enabled it in test setting. There can be many reasons for this behavior like data collector is not expected to generate log in that particular scenario, data collector pre-reqs are not met successfully, that particular data collector is not expected to generate log at all :) e.g &lt;a href="http://msdn.microsoft.com/en-us/library/dd505008(VS.100).aspx"&gt;Network Emulation&lt;/a&gt;. This post intends to explain various reasons for log generation failure from each data diagnostic adapter. This is &lt;i&gt;NOT&lt;/i&gt; an advanced guide for troubleshooting all data diagnostic adapters’ warnings / errors but you can quickly refer to it if you are not seeing logs from a data diagnostic adapter.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd286579(VS.100).aspx"&gt;&lt;strong&gt;IntelliTrace&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; and &lt;/strong&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd286598(VS.100).aspx"&gt;&lt;strong&gt;Test Impact&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Both &lt;a href="http://msdn.microsoft.com/en-us/library/dd286579(VS.100).aspx"&gt;IntelliTrace&lt;/a&gt; and &lt;a href="http://msdn.microsoft.com/en-us/library/dd286598(VS.100).aspx"&gt;Trace Impact&lt;/a&gt; data collectors have a number of pre-reqs: &lt;/p&gt;  &lt;p&gt;1) They work only for applications written with managed code&lt;/p&gt;  &lt;p&gt;&lt;i&gt;2) &lt;/i&gt;&lt;b&gt;AuT process need to be started after launching the Test Runner&lt;/b&gt; as they needs to instrument modules, binaries or executables that are loaded into a process.&lt;/p&gt;  &lt;p&gt;&lt;i&gt;3) ASP .NET Client Proxy for IntelliTrace and Test Impact &lt;/i&gt;&lt;b&gt;needs to&lt;i&gt; &lt;/i&gt;be enabled&lt;/b&gt; in test setting for client role while collecting test data from ASP. NET applications hosted on remote boxes.&lt;/p&gt;  &lt;p&gt;4) &lt;b&gt;Computer’s IP address / hostname&lt;/b&gt; need to be used instead of “127.0.0.1” “local host” while collecting data from locally hosted ASP.NET apps e.g. please use &lt;a href="http://microsof-7f734b/webapplication1/default.aspx"&gt;http://microsof-7f734b/webapplication1/default.aspx&lt;/a&gt; instead of &lt;a href="http://localhost/webapplication1/default.aspx"&gt;http://localhost/webapplication1/default.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;5) AuT Process / required modules are &lt;b&gt;included for data collection &lt;/b&gt;in configuration settings of collectors. Please check articles mentioned below for details on configuring IntelliTrace and Test Impact:&lt;/p&gt;  &lt;p&gt;a. &lt;a href="http://msdn.microsoft.com/en-us/library/dd286579(VS.100).aspx"&gt;Configuring IntelliTrace&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;b. &lt;a href="http://msdn.microsoft.com/en-us/library/dd286598(VS.100).aspx"&gt;Configuring Test Impact&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;So if one / more prereqs mentioned above are not satisfied then you won’t get &lt;i&gt;IntelliTrace / Test Impact&lt;/i&gt; data collector log. Another common mistake that you may do: Launching AuT after launching MTR but from an already opened command prompt. Please avoid it. &lt;/p&gt;  &lt;p&gt;One more important thing to note:&lt;/p&gt;  &lt;p&gt;You’ll never get both IntelliTrace and Test Impact log for same Test Case result. This is because &lt;b&gt;IntelliTrace&lt;/b&gt; log is generated only for Test Cases marked as &lt;b&gt;failed&lt;/b&gt; in Test Runner whereas &lt;b&gt;Test Impact&lt;/b&gt; log is generated only for Test Cases marked as &lt;b&gt;passed&lt;/b&gt; in Test Runner. Additionally, Test Impact log is never attached to bug irrespective Test Case is passed / failed whereas IntelliTrace log will always be attached to bug irrespective Test Case is passed / failed&lt;b&gt;.&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd505008(VS.100).aspx"&gt;&lt;strong&gt;Network Emulation&lt;/strong&gt;&lt;/a&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;It NEVER generates any log and just used to emulate the slow network connection speed. It affects the communication to and from the machine by emulating a particular network connection speed, such as dial-up.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;ASP .NET Client Proxy for IntelliTrace and Test Impact&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;It NEVER generates any log. This proxy enables you to collect information about the http calls from a client to a Web server for the IntelliTrace and Test Impact diagnostic data adapters&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd286596(VS.100).aspx"&gt;&lt;strong&gt;Video recorder&lt;/strong&gt;&lt;/a&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;I had talked about &lt;a href="http://blogs.msdn.com/rubel/archive/2009/11/25/recording-video-of-desktop-while-testing-through-test-runner.aspx"&gt;Video Recorder data collector pre-reqs&lt;/a&gt; in my earlier post. These can be the reasons if you are not getting any log from Video Recorder data collector: &lt;/p&gt;  &lt;p&gt;1) &lt;a href="http://go.microsoft.com/fwlink/?LinkId=135985"&gt;Window Media Encoder&lt;/a&gt; is not installed on box&lt;/p&gt;  &lt;p&gt;2) &lt;a href="http://support.microsoft.com/kb/929182"&gt;Window Media Encoder hotfix&lt;/a&gt; is not installed which is required for Windows Vista, Windows Server 2008 or Window 7 boxes.&lt;/p&gt;  &lt;p&gt;3) &lt;a href="http://support.microsoft.com/kb/947036"&gt;Desktop experience&lt;/a&gt; is not enabled. This is required only for Windows Server 2008 boxes.&lt;/p&gt;  &lt;p&gt;4) &lt;a href="http://msdn.microsoft.com/en-us/library/ee291332(VS.100).aspx"&gt;Test Agent was not running as interactive process&lt;/a&gt;. This is required in case you are collecting video data for a remote role.&lt;/p&gt;  &lt;p&gt;5) Desktop session was not active during test execution. If session is minimized / locked then you won’t get proper video log.&lt;/p&gt;  &lt;p&gt;6) Collector is configured not to generate log for passed TCs as shown below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/TroubleshootingDataDiagnosticAdapters_1078D/clip_image002_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="clip_image001" border="0" alt="clip_image001" src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/TroubleshootingDataDiagnosticAdaptersLog_9D52/clip_image001_9c3752e2-5e5e-4931-8185-a2bce457df05.jpg" width="244" height="163" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;In that scenario you won’t get video log for passed TCs.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;System Information&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;System Information is the simplest data diagnostic adapter and is expected to generate log ALWAYS.&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd504816(VS.100).aspx"&gt;&lt;strong&gt;Event Log&lt;/strong&gt;&lt;/a&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;There is no specific pre-reqs for Event Log data collector and it is expected to generate log ALWAYS.&lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/dd286736(VS.100).aspx"&gt;&lt;strong&gt;Action Log&lt;/strong&gt;&lt;/a&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;These can be the reasons if you are not getting any action log:&lt;/p&gt;  &lt;p&gt;1) No actions are done on AuT (Application Under Test)&lt;/p&gt;  &lt;p&gt;2) You don’t have appropriate permissions to record actions on AuT. It may happen if AuT is running under high privileges.&lt;/p&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/12/06/troubleshooting-data-diagnostic-adapters.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9933279" width="1" height="1"&gt;</description></item><item><title>Installing Windows Automation API 3.0 for enabling CodedUITest on WPF Applications</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/06/installing-windows-automation-api-3-0-for-enabling-codeduitest-on-wpf-applications.aspx</link><pubDate>Sun, 06 Dec 2009 09:50:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9933118</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9933118.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9933118</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rituparna"&gt;Rituparna's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rituparna/archive/2009/12/06/installing-windows-automation-api-3-0-for-enabling-codeduitest-on-wpf-applications.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;p&gt;If you are using CodedUITest to test WPF applications then installing Windows Automation API 3.0 is a pre-requisite. Without this the virtualized controls in WPF wont be played back correctly and since lot of the WPF controls like ListBox/Datagrid are virtualized by default , this will lead to failures.&lt;/p&gt;  &lt;p&gt;Windows automation API is pre-installed on WIN7 and can be installed on Vista/XP as well. This &lt;a href="http://blogs.msdn.com/winuiautomation/default.aspx"&gt;blog&lt;/a&gt; has all the details on howto get Windows Automation API 3.0 installed.&lt;/p&gt;  &lt;p&gt;In case the machine does not have WAA3.0 code generated on doing action on WPF application will have the following comment&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font color="#008000"&gt;// An update for Windows Automation API 3.0 must be installed to enable automation on Windows Presentation Foundation controls. Please refer &lt;/font&gt;&lt;/strong&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=162159"&gt;&lt;strong&gt;&lt;font color="#008000"&gt;http://go.microsoft.com/fwlink/?LinkId=162159&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;&lt;font color="#008000"&gt; for more information.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Similar comment is displayed in the MTLM UI for viewing recorded action as well.&lt;/p&gt;  &lt;p&gt;This&amp;#160; let’s the user know that the recording is not proper and user has to install WAA3.0 and re-record. Also a useful way to identify if the machine actually has Windows Automation API 3.0 installed :)&lt;/p&gt;  &lt;p&gt;ciao&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9933118" width="1" height="1"&gt;</description></item><item><title>Diagnostic Data Adapters getting timed out?</title><link>http://blogs.msdn.com/vstsqualitytools/archive/2009/12/03/diagnostic-data-adapters-getting-timed-out.aspx</link><pubDate>Thu, 03 Dec 2009 05:19:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9931804</guid><dc:creator>VSTS Quality Tools</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/vstsqualitytools/comments/9931804.aspx</comments><wfw:commentRss>http://blogs.msdn.com/vstsqualitytools/commentrss.aspx?PostID=9931804</wfw:commentRss><description>&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/11/29/diagnostic-data-adapters-getting-timed-out.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;P&gt;In &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt; you can face &lt;A href="http://msdn.microsoft.com/en-us/library/dd286743(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286743(VS.100).aspx"&gt;Data Collectors&lt;/A&gt; time out issue while creating bug, ending test case, starting &lt;A href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286725(VS.100).aspx"&gt;Test Runner&lt;/A&gt;&lt;I&gt; &lt;/I&gt;etc basically at all points wherever data collectors are generating logs /getting initialized / disposed. Time out can happen for a number of reasons like network is slow, Client / Test Agent/ Test Controller machine is slow, large number of &lt;A href="http://msdn.microsoft.com/en-us/library/dd286743(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd286743(VS.100).aspx"&gt;Data Collectors&lt;/A&gt; are enabled in test setting etc. &lt;/P&gt;
&lt;P&gt;You’ll see these kinds of dialogs in Test Runner while facing time out issue:&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;Time Out while starting Test Runner&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_2.png"&gt;&lt;IMG title=image style="BORDER-TOP-WIDTH: 0px; DISPLAY: inline; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=217 alt=image src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_thumb.png" width=357 border=0 mce_src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;Time Out while creating a Bug from Test Runner&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_4.png" mce_href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_4.png"&gt;&lt;IMG title=image style="BORDER-TOP-WIDTH: 0px; DISPLAY: inline; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=225 alt=image src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_thumb_1.png" width=369 border=0 mce_src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_thumb_1.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;Time out while ending Test Case in Test Runner&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_6.png" mce_href="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_6.png"&gt;&lt;IMG title=image style="BORDER-TOP-WIDTH: 0px; DISPLAY: inline; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=228 alt=image src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_thumb_2.png" width=375 border=0 mce_src="http://blogs.msdn.com/blogfiles/rubel/WindowsLiveWriter/DiagnosticDataAdaptersgettingtimedout_E317/image_thumb_2.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Good thing is that these time outs are &lt;B&gt;&lt;I&gt;configurable&lt;/I&gt;&lt;/B&gt; in the &lt;B&gt;&lt;I&gt;mtlm.exe.config&lt;/I&gt;&lt;/B&gt; file:&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- How long test runner will wait for all local data collectors to initialize. Default is 50. --&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="DataCollectorInitializationTimeoutInSeconds" value="50"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- How long test runner will wait for an event raised to all local data collectors to complete. Default is 30. --&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="DataCollectorEventTimeoutInSeconds" value="30"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;!-- How long test runner will wait for all local data collectors to dispose. Default is 60. --&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;lt;add key="DataCollectorCleanupTimeoutInSeconds" value="60"/&amp;gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;There is obviously no “right” default value for this. We want to keep it as low as possible for manual testers but high enough to not timeout in common / 80% scenarios. But if you facing time out issues too frequently then it will be good to modify it the mtlm.exe.config file.&lt;/P&gt;
&lt;P&gt;If you are running a &lt;A href="http://msdn.microsoft.com/en-us/library/dd648127(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd648127(VS.100).aspx"&gt;test agent&lt;/A&gt; also then you need to modify these files also on your machine running &lt;A href="http://msdn.microsoft.com/en-us/library/dd648127(VS.100).aspx" mce_href="http://msdn.microsoft.com/en-us/library/dd648127(VS.100).aspx"&gt;test agent&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;· QTAgent.exe.config&lt;/P&gt;
&lt;P&gt;· QTAgent32.exe.config&lt;/P&gt;
&lt;P&gt;· QTDCAgent.exe.config&lt;/P&gt;
&lt;P&gt;· QTDCAgent32.exe.config&lt;/P&gt;&lt;b&gt;Note:&lt;/b&gt; Cross posted from &lt;a href="http://blogs.msdn.com/rubel/default.aspx"&gt;Rubel's Blog&lt;/a&gt;.
&lt;br /&gt;&lt;a href="http://blogs.msdn.com/rubel/archive/2009/11/29/diagnostic-data-adapters-getting-timed-out.aspx"&gt;Permalink&lt;/a&gt;
&lt;br /&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9931804" width="1" height="1"&gt;</description></item></channel></rss>