<?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>Syed's Blog</title><link>http://blogs.msdn.com/b/syedab/</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 5.6.583.20496 (Build: 5.6.583.20496)</generator><item><title>How To: Parameterize web servers in webtest</title><link>http://blogs.msdn.com/b/syedab/archive/2012/01/14/how-to-parameterize-web-servers-in-webtest.aspx</link><pubDate>Sat, 14 Jan 2012 15:47:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10256753</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10256753</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2012/01/14/how-to-parameterize-web-servers-in-webtest.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Products and Services IT (PSIT) team.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Parameterizing web servers helps in parameterizing URLs of web server in web test. We can use the same web tests for different environments without need to regenerate the code. &lt;/p&gt;  &lt;p&gt;Let me show how to parameterize web servers:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Open the web test&lt;/li&gt;    &lt;li&gt;Click on parameterize web servers button&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/7624.image_5F00_2EC4106D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/6622.image_5F00_thumb_5F00_1D9032CA.png" width="244" height="44" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Parameterize webservers screen shown&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/0361.image_5F00_6183F114.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/0358.image_5F00_thumb_5F00_249F4975.png" width="244" height="143" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Click on change&lt;/li&gt;    &lt;li&gt;Enter context parameter name and web server to be used&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/0842.image_5F00_6C9D5591.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2818.image_5F00_thumb_5F00_0B27206E.png" width="244" height="141" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Context parameters will be added and URLs will be replaced with the parameter name&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/1030.image_5F00_72D40652.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/3005.image_5F00_thumb_5F00_164084EB.png" width="244" height="89" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Update the context parameter to required URL&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Products and Services IT (PSIT) Team&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10256753" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+how+to/">Performance testing how to</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+strategies/">Performance testing strategies</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Web+Service+load+testing/">Web Service load testing</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Web+Tests/">Web Tests</category></item><item><title>How To: Use Xperf</title><link>http://blogs.msdn.com/b/syedab/archive/2011/12/06/how-to-use-xperf.aspx</link><pubDate>Tue, 06 Dec 2011 06:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10244491</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10244491</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/12/06/how-to-use-xperf.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Relationship experience division (RXD) team.&lt;/p&gt;
&lt;p&gt;You can use Xperf tool to capture trace and narrow down exact processes/operation which is causing performance issue like CPU usage, disk utilization by process, File I/O Types, processes usage and etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Example: To trace disk IO and CPU usage run the following trace command&lt;/p&gt;
&lt;p&gt;E:\xperf&amp;gt;Xperf.exe -START -on FileIO+CSWITCH+DISK_IO_INIT+PROFILE+FILENAME+DRIVERS+NETWORKTRACE+DPC+INTERRUPT+Latency -stackwalk CSwitch+DiskReadInit+DiskWriteInit+DiskFlushInit+FileCreate+FileCleanup+FileClose+FileRead+FileWrite+FileFlush+profile -f E:\xperfresults\GSdiskio.etl -BufferSize 1024 -MaxBuffers 1024 -MaxFile 1024 -FileMode Circular&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Run the performance scripts.&lt;/p&gt;
&lt;p&gt;Stop tracing.&lt;/p&gt;
&lt;p&gt;E:\xperf&amp;gt;xperf -stop&lt;/p&gt;
&lt;p&gt;GSdiskio.etl is the trace file name open the trace file using xperfview.exe and analyze the results.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8228.GSDISKIOPERFRESULTS1_5F00_50247E5C.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="GSDISKIOPERFRESULTS1" border="0" alt="GSDISKIOPERFRESULTS1" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2678.GSDISKIOPERFRESULTS1_5F00_thumb_5F00_76C2E4DC.jpg" width="244" height="150" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8611.GSDISKIOPERFRESULTS2_5F00_02E45F04.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="GSDISKIOPERFRESULTS2" border="0" alt="GSDISKIOPERFRESULTS2" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/5875.GSDISKIOPERFRESULTS2_5F00_thumb_5F00_2650DD9C.jpg" width="244" height="148" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For more information refer the &lt;a title="http://msdn.microsoft.com/en-us/performance/cc709422" href="http://msdn.microsoft.com/en-us/performance/cc709422"&gt;http://msdn.microsoft.com/en-us/performance/cc709422&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a title="http://msdn.microsoft.com/en-us/performance/cc825801.aspx" href="http://msdn.microsoft.com/en-us/performance/cc825801.aspx"&gt;http://msdn.microsoft.com/en-us/performance/cc825801.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Relationship experience division (RXD) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10244491" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+how+to/">Performance testing how to</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+strategies/">Performance testing strategies</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+basics/">Performance testing basics</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Perfmon/">Perfmon</category></item><item><title>How To: Use CUITe</title><link>http://blogs.msdn.com/b/syedab/archive/2011/11/01/how-to-use-cuite.aspx</link><pubDate>Tue, 01 Nov 2011 09:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10232003</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10232003</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/11/01/how-to-use-cuite.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Relationship experience division (RXD) team.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CUITe is coded UI test enhanced framework available at &lt;a title="http://cuite.codeplex.com/" href="http://cuite.codeplex.com/"&gt;http://cuite.codeplex.com/&lt;/a&gt; useful for test UI automation. The advantages of CUITe is reduced code, better readability and maintainability. Let me show how to use CUITe.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download and install from &lt;a title="http://cuite.codeplex.com/" href="http://cuite.codeplex.com/"&gt;http://cuite.codeplex.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Launch CUITe_ObjectRecorder&lt;/li&gt;
&lt;li&gt;Enter website address to test&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/3438.image_5F00_32B7EAAF.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2867.image_5F00_thumb_5F00_56FCCF31.png" width="431" height="55" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on record&lt;/li&gt;
&lt;li&gt;Click on the controls in web page&lt;/li&gt;
&lt;li&gt;Click on Code button in the toolbar&lt;/li&gt;
&lt;li&gt;It will generate the code as&amp;nbsp; shown below
&lt;p&gt;using System; &lt;br /&gt;using System.Collections.Generic; &lt;br /&gt;using System.Linq; &lt;br /&gt;using System.Text; &lt;br /&gt;using Microsoft.VisualStudio.TestTools.UITesting; &lt;br /&gt;using CUITe.Controls.HtmlControls;&lt;/p&gt;
&lt;p&gt;namespace $ProjectNameSpace.$ObjectRepository &lt;br /&gt;{ &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public class LoginWindow : CUITe_BrowserWindow &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public new string sWindowTitle = "Server Login"; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public CUITe_HtmlEdit txtusername = new CUITe_HtmlEdit("Id=username"); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public CUITe_HtmlPassword txtpassword = new CUITe_HtmlPassword("Id=password"); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public CUITe_HtmlInputButton btnLogIn = new CUITe_HtmlInputButton("Value=Log In");&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;}&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;Create test project.&lt;/li&gt;
&lt;li&gt;Record a normal Coded UI test to get all references done automatically.&lt;/li&gt;
&lt;li&gt;Add reference to &amp;ldquo;CUITe.dll&amp;rdquo;&amp;nbsp; from the install path. Do not copy and reference.&lt;/li&gt;
&lt;li&gt;Create objectrepository folder&lt;/li&gt;
&lt;li&gt;Add a class file and rename it to LoginWindow&lt;/li&gt;
&lt;li&gt;Copy paste the above code in a LoginWindow.cs file which will act as object repository. Update the name space and class name appropriately.&lt;/li&gt;
&lt;li&gt;Can have inheritance work for object repository classes (move common stuff to parent classes for better organization and modularity).&lt;/li&gt;
&lt;li&gt;In test methods you can call the objects as&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;LoginWindow.txtusername.SetText(username);&lt;/p&gt;
&lt;p&gt;LoginWindow.txtpassword .SetText(password);&lt;/p&gt;
&lt;p&gt;&lt;!--EndFragment--&gt;LoginWindow.btnLogIn .Click();&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;p&gt;1. Object recorder now only works for html/web.&lt;/p&gt;
&lt;p&gt;2. Object recorder only records the object/control definitions, not actions.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For more information refer the site &lt;a title="http://cuite.codeplex.com/" href="http://cuite.codeplex.com/"&gt;http://cuite.codeplex.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Relationship experience division (RXD) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10232003" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category></item><item><title>How To: Create a new file of a specific size</title><link>http://blogs.msdn.com/b/syedab/archive/2011/10/03/how-to-create-a-new-file-of-a-specific-size.aspx</link><pubDate>Mon, 03 Oct 2011 09:32:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10219097</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10219097</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/10/03/how-to-create-a-new-file-of-a-specific-size.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Relationship experience division (RXD) team.&lt;/p&gt;  &lt;p&gt;For one of my application testing I required files of specific different size starting from 1 MB to 1.5 TB. Using fsutil you can easily create a new file of a specific size as shown below:&lt;/p&gt;  &lt;p&gt;Syntax:&lt;/p&gt;  &lt;pre&gt;&lt;font face="Calibri"&gt;fsutil file createnew &amp;lt;path with name of file&amp;gt; &amp;lt;size in bytes&amp;gt;&lt;/font&gt;&lt;/pre&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;For example the command to create one GB file is: &lt;/p&gt;

&lt;pre&gt;&lt;font face="Calibri"&gt;fsutil file createnew d:\OneGB.txt 1073741824&lt;/font&gt;&lt;/pre&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Relationship experience division (RXD) Team&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;---------------------------------------------------------&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;font style="background-color: #ff0000"&gt;Please leave a comment if the blog post has helped you.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10219097" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Software+Testing/">Software Testing</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category></item><item><title>Web Test recorder not shown in Internet explorer when recording web performance test</title><link>http://blogs.msdn.com/b/syedab/archive/2011/09/05/web-test-recorder-not-shown-in-internet-explorer-when-recording-web-performance-test.aspx</link><pubDate>Mon, 05 Sep 2011 07:27:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10206181</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10206181</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/09/05/web-test-recorder-not-shown-in-internet-explorer-when-recording-web-performance-test.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Relationship experience division (RXD)&amp;#160; team.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;When using Web performance tests it might not show web test recorder in Internet explorer (IE) meaning the web test recorder add-on is disabled. If web test recorder is not visible in IE you need to enable “Web Test recorder 10.0” add on as:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Launch IE &lt;/li&gt;    &lt;li&gt;Click on tools or Press Alt + X and click on Manage add-ons&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/5734.1_5F00_0665DAAE.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2021.1_5F00_thumb_5F00_0A8FB273.jpg" width="233" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Navigate to&amp;#160; and select web test recorder 10.0 and click on enable&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/7041.3_5F00_61A49D69.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="3" border="0" alt="3" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2161.3_5F00_thumb_5F00_3DBBC60F.jpg" width="244" height="176" /&gt;&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;Now you should be able to see web test recorder window in IE&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8037.4_5F00_42BE03BE.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="4" border="0" alt="4" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/7838.4_5F00_thumb_5F00_19D2EEB5.jpg" width="244" height="108" /&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Relationship experience division (RXD) Team&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;---------------------------------------------------------&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font style="background-color: #ff0000"&gt;Please leave a comment if the blog post has helped you.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10206181" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+how+to/">Performance testing how to</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+strategies/">Performance testing strategies</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Performance+testing+basics/">Performance testing basics</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category></item><item><title>How To: Enable tracing for UI Test components using config settings</title><link>http://blogs.msdn.com/b/syedab/archive/2011/08/02/how-to-enable-tracing-for-ui-test-components-using-config-settings.aspx</link><pubDate>Tue, 02 Aug 2011 05:35:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10191910</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10191910</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/08/02/how-to-enable-tracing-for-ui-test-components-using-config-settings.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Relationship experience division (RXD)&amp;#160; team.&lt;/p&gt;  &lt;p&gt;You can enable tracing for the following components using the respective config files&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;mtlm.exe.config – For MTLM features &lt;/li&gt;    &lt;li&gt;CodedUITestBuilder.exe.config – For coded UI test builder &lt;/li&gt;    &lt;li&gt;QTAgent32.exe.config – For coded UI test &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The config files are located at “%ProgramFiles%\Microsoft Visual Studio 10.0\Common7\IDE”&lt;/p&gt;  &lt;p&gt;Update EqtTraceLevel or UITestTraceLevel in corresponding files as &lt;/p&gt;  &lt;ul&gt;   &lt;ul&gt;     &lt;li&gt;1 - indicates Errors only &lt;/li&gt;      &lt;li&gt;2 - indicates Errors and Warnings &lt;/li&gt;      &lt;li&gt;3 - indicates Errors, Warnings and Information &lt;/li&gt;      &lt;li&gt;4 - indicates All including Verbose Information &lt;/li&gt;   &lt;/ul&gt; &lt;/ul&gt;  &lt;p&gt;EqtTraceLevel is for all testing tools modules of the executable&lt;/p&gt;  &lt;p&gt;UITestTraceLevel&amp;#160; is for UI test modules of the executable&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Relationship experience division (RXD) Team&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;---------------------------------------------------------&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;font style="background-color: #ff0000"&gt;Please leave a comment if the blog post has helped you.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10191910" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Microsoft+Test+Manager+2010/">Microsoft Test Manager 2010</category></item><item><title>How to: Enable Tracing for CUIT  using registry setting</title><link>http://blogs.msdn.com/b/syedab/archive/2011/07/04/how-to-enable-tracing-for-cuit-using-regedit.aspx</link><pubDate>Mon, 04 Jul 2011 06:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10182785</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10182785</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/07/04/how-to-enable-tracing-for-cuit-using-regedit.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Relationship experience division (RXD)&amp;nbsp; team.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Trace logs helps in debugging and identifying issues better. We can enable trace logs for coded UI tests as:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch regedit and navigate to [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\EnterpriseTools\QualityTools\Diagnostics]&lt;/li&gt;
&lt;li&gt;Check the key values for&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;"EnableTracing"=dword:00000001 &lt;br /&gt;"TraceLevel"=dword:00000004&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;ldquo;1&amp;rdquo; indicates tracing is on &amp;ldquo;0&amp;rdquo; indicates tracing is off&lt;/li&gt;
&lt;li&gt;Trace level&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;1 indicates Errors only&lt;/li&gt;
&lt;li&gt;2 indicates Errors and Warnings&lt;/li&gt;
&lt;li&gt;3 indicates Errors, Warnings and Information&lt;/li&gt;
&lt;li&gt;4 indicates All including Verbose Information&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;If you don&amp;rsquo;t find the key download and run the EnableTraceLogs registry file. It enables tracing for all VS testing tools.&lt;/li&gt;
&lt;li&gt;To disable tracing set EnableTracing to 0&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The trace files are generated in %temp%\UITestLogs\LastRun\UITestLog.html. The LastRun contains the latest/last run details. The previous run details are stored as PreviousRunXX.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Relationship experience division (RXD) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background-color: #ff0000;"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10182785" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-18-27-85/EnableTraceLogs.reg" length="406" type="application/octet-stream" /><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category></item><item><title>Test Impact Analysis</title><link>http://blogs.msdn.com/b/syedab/archive/2011/06/09/test-impact-analysis.aspx</link><pubDate>Thu, 09 Jun 2011 10:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10172846</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10172846</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/06/09/test-impact-analysis.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Relationship experience division (RXD)&amp;nbsp; team.&lt;/p&gt;
&lt;p&gt;Test impact analysis helps developers to quickly identify the tests(unit/CUIT) that need to be run for the latest code change. It&amp;rsquo;s one of the features in visual studio 2010 (VS) available in Premium and Ultimate editions. It works with only managed code.&lt;/p&gt;
&lt;p&gt;Let me show Test impact analysis with a Sample web application which has a web page and a class along with Test project. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch visual studio 2010 &lt;/li&gt;
&lt;li&gt;Click on new project -&amp;gt;Visual C# - Test &amp;ndash; Test Project ( make sure you have selected .NET Framework4 to see the test project)&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/3858.clip_5F00_image002_5F00_6FB1DF5F.jpg"&gt;&lt;img height="171" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/4035.clip_5F00_image002_5F00_thumb_5F00_6D84BAC9.jpg" alt="clip_image002" border="0" title="clip_image002" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Give appropriate project name and save the project&lt;/li&gt;
&lt;li&gt;Close VS&lt;/li&gt;
&lt;li&gt;Launch VS 2010&lt;/li&gt;
&lt;li&gt;Click file-&amp;gt; New project - &amp;gt; Web -&amp;gt; select ASP.NET web application&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/0333.clip_5F00_image004_5F00_4FC3300A.jpg"&gt;&lt;img height="170" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/6507.clip_5F00_image004_5F00_thumb_5F00_06706542.jpg" alt="clip_image004" border="0" title="clip_image004" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Give appropriate project name and save the project&lt;/li&gt;
&lt;li&gt;Right click and add new class and close the solution. &lt;/li&gt;
&lt;li&gt;Open the test project and add the website. The solution will look like&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/6014.clip_5F00_image005_5F00_085DB44B.png"&gt;&lt;img height="244" width="233" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8171.clip_5F00_image005_5F00_thumb_5F00_53DCE202.png" alt="clip_image005" border="0" title="clip_image005" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Create a simple method in class file as DisplayText which returns string&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8664.clip_5F00_image006_5F00_3F0AE982.png"&gt;&lt;img height="227" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/1222.clip_5F00_image006_5F00_thumb_5F00_4883A7F8.png" alt="clip_image006" border="0" title="clip_image006" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Create unit test for the above method in UnitTest1.cs as &lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/4530.clip_5F00_image007_5F00_1AB5DF33.png"&gt;&lt;img height="49" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/5123.clip_5F00_image007_5F00_thumb_5F00_521BF061.png" alt="clip_image007" border="0" title="clip_image007" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Launch test impact view by clicking on Test -&amp;gt; Windows - &amp;gt; Test impact view&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2705.clip_5F00_image008_5F00_5B94AED7.png"&gt;&lt;img height="191" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/3872.clip_5F00_image008_5F00_thumb_5F00_784E23EC.png" alt="clip_image008" border="0" title="clip_image008" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;If the test impact diagnostic data is not enabled, click on the link in test impact view window to enable it. Alternatively, you can also set it in test settings as below ( Test -&amp;gt; Edit test settings - &amp;gt; Data and diagnostics)&lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/7178.clip_5F00_image010_5F00_15079902.jpg"&gt;&lt;img height="181" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/3060.clip_5F00_image010_5F00_thumb_5F00_5822F162.jpg" alt="clip_image010" border="0" title="clip_image010" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Now build the solution and run the unit test to baseline data&lt;/li&gt;
&lt;li&gt;Click on Test-&amp;gt; Windows -&amp;gt; Test view &lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8168.clip_5F00_image011_5F00_163C0C14.png"&gt;&lt;img height="96" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/5100.clip_5F00_image011_5F00_thumb_5F00_1080F26E.png" alt="clip_image011" border="0" title="clip_image011" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the test method and click on run&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/1616.clip_5F00_image012_5F00_275FC3EA.png"&gt;&lt;img height="74" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8662.clip_5F00_image012_5F00_thumb_5F00_378B8BE3.png" alt="clip_image012" border="0" title="clip_image012" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;At this point the test impact view will look like&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/6406.clip_5F00_image013_5F00_1553805D.png"&gt;&lt;img height="210" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8750.clip_5F00_image013_5F00_thumb_5F00_536C9B0E.png" alt="clip_image013" border="0" title="clip_image013" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Now, lets change the code in DisplayText method and add line of code as &lt;/li&gt;
&lt;li&gt;&amp;nbsp;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/6406.clip_5F00_image014_5F00_1EEBC8C6.png"&gt;&lt;img height="206" width="244" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/5428.clip_5F00_image014_5F00_thumb_5F00_3CE9D6BA.png" alt="clip_image014" border="0" title="clip_image014" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Since there is change in code it shows up in impacted tests as &lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/8737.image_5F00_737781FE.png"&gt;&lt;img height="244" width="218" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/1803.image_5F00_thumb_5F00_0A56537B.png" alt="image" border="0" title="image" style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the impacted test and click on run tests. Make sure the unit test passes to ensure the code change hasn&amp;rsquo;t effected the test case.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Relationship experience division (RXD) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000;"&gt;&lt;strong&gt;Please leave a comment if the blog post has helped you.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10172846" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/unit+testing/">unit testing</category></item><item><title>Run CUIT from Microsoft Test Manager 2010</title><link>http://blogs.msdn.com/b/syedab/archive/2011/05/12/run-cuit-from-microsoft-test-manager-2010.aspx</link><pubDate>Thu, 12 May 2011 06:48:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10163666</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10163666</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/05/12/run-cuit-from-microsoft-test-manager-2010.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In continuation with previous blog let me show you How To run CUIT from Microsoft Test Manager (MTM) 2010.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch MTM from Start &amp;ndash;&amp;gt; All Programs &amp;ndash;&amp;gt;Microsoft Visual Studio 2010 &amp;ndash; &amp;gt; Microsoft Test Manager 2010&lt;/li&gt;
&lt;li&gt;Click on the plan tab, make sure the state is in &amp;ldquo;In progress&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/4062.image_5F00_2553995B.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/3404.image_5F00_thumb_5F00_07920E9C.png" width="183" height="88" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on test tab and select the required suite. You will see the test cases in right hand pane.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/6177.image_5F00_655A0315.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2308.image_5F00_thumb_5F00_1DB80421.png" width="422" height="76" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the automated test cases and click on Run button. If you want to change the run options select run with options&lt;/li&gt;
&lt;li&gt;The CUIT will be run and you will see the result as pass or fail&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/3312.image_5F00_1AC29F6E.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/4885.image_5F00_thumb_5F00_6FBA8B9B.png" width="244" height="78" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on the view results to see the test results&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/6087.image_5F00_54358998.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-21-69-metablogapi/2318.image_5F00_thumb_5F00_00AE93B2.png" width="244" height="153" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10163666" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Microsoft+Test+Manager+2010/">Microsoft Test Manager 2010</category></item><item><title>Creating test settings in Microsoft Test Manager 2010</title><link>http://blogs.msdn.com/b/syedab/archive/2011/04/05/creating-test-settings-in-microsoft-test-manager-2010.aspx</link><pubDate>Tue, 05 Apr 2011 05:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10149832</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10149832</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/04/05/creating-test-settings-in-microsoft-test-manager-2010.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In continuation with previous blog lets create test environment for the test plan in Microsoft Test Manager (MTM) 2010.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch MTM from Start &amp;ndash;&amp;gt; All Programs &amp;ndash;&amp;gt;Microsoft Visual Studio 2010 &amp;ndash; &amp;gt; Microsoft Test Manager 2010&lt;/li&gt;
&lt;li&gt;Click on organize tab, select the test plan and double click on it&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1307.13_5F00_55BFCDE6.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="13" border="0" alt="13" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6661.13_5F00_thumb_5F00_48E577C8.jpg" width="244" height="72" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select New from test settings&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5428.14_5F00_1947593C.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="14" border="0" alt="14" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2376.14_5F00_thumb_5F00_705C4432.jpg" width="244" height="28" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Enter Name and description and click on next&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6082.15_5F00_6F17AB53.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="15" border="0" alt="15" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/4024.15_5F00_thumb_5F00_058A49DB.jpg" width="244" height="106" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the role to use to run your automated tests as &amp;ldquo;web client&amp;rdquo; and click on next&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6177.16_5F00_6ADDADC1.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="16" border="0" alt="16" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2451.16_5F00_thumb_5F00_0EB65F4F.jpg" width="143" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;For each role in the test environment select the data you want to collect or the actions to perform on the system and click on next&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0317.17_5F00_3AF2E633.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="17" border="0" alt="17" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0638.17_5F00_thumb_5F00_41E272EB.jpg" width="244" height="76" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on next&lt;/li&gt;
&lt;li&gt;Click on finish&lt;/li&gt;
&lt;li&gt;You have successfully created test settings&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10149832" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Microsoft+Test+Manager+2010/">Microsoft Test Manager 2010</category></item><item><title>C# Code Coverage using VS2010</title><link>http://blogs.msdn.com/b/syedab/archive/2011/03/11/c-code-coverage-using-vs2010.aspx</link><pubDate>Fri, 11 Mar 2011 06:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10139709</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10139709</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/03/11/c-code-coverage-using-vs2010.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;Code coverage describes the degree up to which the source code of the program has been tested. The process would involve setting up code coverage and testing the entire application.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Preconditions&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You should have pdb files for the DLLs and deployed the bits&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Steps to setup code coverage&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open command prompt in privileged mode&lt;/li&gt;
&lt;li&gt;Change the directory to \Program Files\Microsoft Visual Studio 10.0\Team Tools\Performance Tools\ or C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Performance Tools\x64 for X64 bit setup (OS and VS)&lt;/li&gt;
&lt;li&gt;Instrument application dlls by running the command vsinstr -coverage &amp;ldquo;&amp;hellip;\abc.dll&amp;rdquo; (Dlls are usually found in bin directory). This step will create backup of original DLL with .orig extension and instruments the dll&lt;/li&gt;
&lt;li&gt;Start coverage monitor by running the command \Program Files\Microsoft Visual Studio 10.0\Team Tools\Performance Tools &amp;gt;start vsperfmon -coverage -output:"D:\xyz.coverage" /CS /user:everyone&lt;/li&gt;
&lt;li&gt;Run your tests(unit test cases/ CUIT /manual) pointing the instrumented bits&lt;/li&gt;
&lt;li&gt;Stop the coverage monitor by running the command vsperfcmd /shutdown&lt;/li&gt;
&lt;li&gt;Open the file xyz.coverage to find your code coverage results.&lt;/li&gt;
&lt;li&gt;The code coverage results would look like, it shows 80% code coverage and 20% code is not covered&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2870.image_5F00_1A390BD0.png"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3060.image_5F00_thumb_5F00_68D9FBA2.png" width="244" height="99" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10139709" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Software+Testing/">Software Testing</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Code+Coverage/">Code Coverage</category></item><item><title>Creating Test Environment in Microsoft Test Manager 2010</title><link>http://blogs.msdn.com/b/syedab/archive/2011/02/08/creating-test-environment-in-microsoft-test-manager-2010.aspx</link><pubDate>Tue, 08 Feb 2011 05:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10126013</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10126013</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/02/08/creating-test-environment-in-microsoft-test-manager-2010.aspx#comments</comments><description>&lt;table border="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In continuation with previous blog lets create test environment for the test plan in Microsoft Test Manager (MTM) 2010.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch MTM from Start &amp;ndash;&amp;gt; All Programs &amp;ndash;&amp;gt;Microsoft Visual Studio 2010 &amp;ndash; &amp;gt; Microsoft Test Manager 2010&lt;/li&gt;
&lt;li&gt;Click on organize tab, select the test plan and double click on it&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0488.clip_5F00_image011_5F00_39D1F7A3.jpg"&gt;&lt;img title="clip_image011" border="0" alt="clip_image011" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2727.clip_5F00_image011_5F00_thumb_5F00_5A298795.jpg" width="244" height="69" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;It shows the plan with default automated run configuration settings as&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3240.image_5F00_79DBED01.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1106.image_5F00_thumb_5F00_36443BDF.png" width="244" height="29" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on Manage&lt;/li&gt;
&lt;li&gt;It will show Lab Center with Lab tab selected&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3240.image_5F00_562F98DC.png"&gt;&lt;img style="margin: 0px; border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8623.image_5F00_thumb_5F00_0E2166F3.png" width="244" height="60" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on new, it shows three options to create environment. Select New physical environment&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0131.image_5F00_5215253D.png"&gt;&lt;img style="margin: 0px; border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1780.image_5F00_thumb_5F00_5904B1F5.png" width="244" height="90" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Enter environment name and description, select the test controller you have created (as shown in earlier blogs)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1207.image_5F00_2DFC9E23.png"&gt;&lt;img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6888.image_5F00_thumb_5F00_192AA5A3.png" width="244" height="171" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on next&lt;/li&gt;
&lt;li&gt;Select each machine and click on add to environment (Note: The machines (web server and DB server)/Test agents should have been registered with controller to show)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5824.image_5F00_15C90DFB.png"&gt;&lt;img style="margin: 0px; border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1108.image_5F00_thumb_5F00_385D26A9.png" width="186" height="149" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the added machine and select web client. This is the machine which is controller machine and also the automated test cases (CUIT) will be run from this machine.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8154.image_5F00_466BEFD9.png"&gt;&lt;img style="margin: 0px; border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6318.image_5F00_thumb_5F00_45EF9717.png" width="144" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Likewise, add machines for web server and DB server and select role as web server and DB server&lt;/li&gt;
&lt;li&gt;Click on next&lt;/li&gt;
&lt;li&gt;Click on next&lt;/li&gt;
&lt;li&gt;Click on finish&lt;/li&gt;
&lt;li&gt;You have created test environment successfully.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;img border="0" src="http://blogs.msdn.com/aggbug.aspx?PostID=10117993" width="1" height="1" /&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10126013" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Microsoft+Test+Manager+2010/">Microsoft Test Manager 2010</category></item><item><title>Creating test plan in Microsoft Test Manager 2010</title><link>http://blogs.msdn.com/b/syedab/archive/2011/01/20/creating-test-plan-in-microsoft-test-manager-2010.aspx</link><pubDate>Thu, 20 Jan 2011 05:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10117993</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10117993</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2011/01/20/creating-test-plan-in-microsoft-test-manager-2010.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In this blog I will show &amp;ldquo;Creating test plan in Microsoft Test Manager (MTM) 2010.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch MTM from Start &amp;ndash;&amp;gt; All Programs &amp;ndash;&amp;gt;Microsoft Visual Studio 2010 &amp;ndash; &amp;gt; Microsoft Test Manager 2010&lt;/li&gt;
&lt;li&gt;Click on Add server&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0027.clip_5F00_image002_5F00_0260964E.jpg"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2654.clip_5F00_image002_5F00_thumb_5F00_195EF1BD.jpg" width="244" height="166" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Enter the team foundation server name or URL and click on add&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3730.clip_5F00_image003_5F00_09037A04.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image003" border="0" alt="clip_image003" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8103.clip_5F00_image003_5F00_thumb_5F00_3F24F253.png" width="244" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select a node and expand, select the team project and click on connect now&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/7851.clip_5F00_image004_5F00_31060356.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0676.clip_5F00_image004_5F00_thumb_5F00_66BB48B0.png" width="243" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;If you have already created a plan select a test plan or click on add button to create a test plan&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2642.clip_5F00_image005_5F00_0374BDC6.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image005" border="0" alt="clip_image005" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1256.clip_5F00_image005_5F00_thumb_5F00_12C81FD5.png" width="244" height="62" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Enter the plan name and click on add&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3113.clip_5F00_image006_5F00_2BE37A0D.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image006" border="0" alt="clip_image006" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0005.clip_5F00_image006_5F00_thumb_5F00_34179FA4.png" width="244" height="129" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the test plan and click on select plan&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6763.clip_5F00_image007_5F00_2A02FE79.png"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image007" border="0" alt="clip_image007" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/7838.clip_5F00_image007_5F00_thumb_5F00_075EBFFE.png" width="244" height="118" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;It shows the plan with default configuration settings as&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0412.clip_5F00_image009_5F00_449F74C5.jpg"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image009" border="0" alt="clip_image009" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2148.clip_5F00_image009_5F00_thumb_5F00_1CAC4F99.jpg" width="244" height="138" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on the organize tab&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0488.clip_5F00_image011_5F00_39D1F7A3.jpg"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image011" border="0" alt="clip_image011" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2727.clip_5F00_image011_5F00_thumb_5F00_5A298795.jpg" width="244" height="69" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select test plan manager&lt;/li&gt;
&lt;li&gt;The screen shows the test plans created.&lt;/li&gt;
&lt;li&gt;You can create new test plan by clicking on new button.&lt;/li&gt;
&lt;li&gt;You can open the existing test plan by selecting the test plan and clicking on open button.&lt;/li&gt;
&lt;li&gt;You can delete the test plan by selecting the test plan and clicking on delete button.&lt;/li&gt;
&lt;li&gt;Select the test plan and click on open&lt;/li&gt;
&lt;li&gt;The test plan with default settings is shown. You can add/update name, description, state, start and end date, area path and iteration path. I will be covering run settings in the next blog post.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5466.clip_5F00_image013_5F00_65729BD2.jpg"&gt;&lt;img style="background-image: none; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="clip_image013" border="0" alt="clip_image013" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1072.clip_5F00_image013_5F00_thumb_5F00_288DF433.jpg" width="244" height="151" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10117993" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Microsoft+Test+Manager+2010/">Microsoft Test Manager 2010</category></item><item><title>Create basic build definition in VS2010</title><link>http://blogs.msdn.com/b/syedab/archive/2010/12/29/create-basic-build-definition-in-vs2010.aspx</link><pubDate>Wed, 29 Dec 2010 02:43:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10109757</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10109757</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/12/29/create-basic-build-definition-in-vs2010.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In this blog I will show &amp;ldquo;How to create basic build definition&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Pre-requisites:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Build system should be configured&lt;/li&gt;
&lt;li&gt;You should have edit build definition permissions&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Build definition helps in setting up automated build generation, compile source, generate bits to a preconfigured shared folder.&lt;/p&gt;
&lt;p&gt;Steps to create build definition:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch Visual Studio (VS) 2010&lt;/li&gt;
&lt;li&gt;Select the team project in team explorer&lt;/li&gt;
&lt;li&gt;Click on Build &amp;ndash;&amp;gt; New Build Definition menu&lt;/li&gt;
&lt;li&gt;Enter build definition name and description&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6646.7_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="7" border="0" alt="7" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8473.7_5F00_thumb.jpg" width="244" height="110" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on trigger, select one of the required check-in trigger options. example continuous integration build each check-in &amp;ndash; this build is queued in every time chance is checked in the files that are built by this definition&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6327.8_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="8" border="0" alt="8" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5722.8_5F00_thumb.jpg" width="244" height="128" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on workspace, select the source bits which will be compiled, example: the test automation project (checked in TFS)&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/4336.9_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="9" border="0" alt="9" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8446.9_5F00_thumb.jpg" width="244" height="36" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on build defaults, select build controller, enter the share folder path to which compiled bits and log files to be copied&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6787.10_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="10" border="0" alt="10" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0116.10_5F00_thumb.jpg" width="244" height="62" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on process, select the project to build example the test automation project&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3644.11_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="11" border="0" alt="11" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8400.11_5F00_thumb.jpg" width="244" height="113" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on test assembly, enter test assembly file&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/4705.12_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="12" border="0" alt="12" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/7411.12_5F00_thumb.jpg" width="224" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Select the required build definition format, example when build is completed build definition name along with date format folder will be created in shared folder and the bits will be copied in the folder.&lt;/li&gt;
&lt;li&gt;Save the build definition&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We are good to use build definition.&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000;"&gt;&lt;strong&gt;Please leave a comment if the blog post has helped you.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10109757" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VSTF+2010/">VSTF 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category></item><item><title>Installing and Configuring Test Agent</title><link>http://blogs.msdn.com/b/syedab/archive/2010/12/23/installing-and-configuring-test-agent.aspx</link><pubDate>Thu, 23 Dec 2010 14:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10108581</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10108581</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/12/23/installing-and-configuring-test-agent.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In continuation with my earlier blog posts on automation using VS2010, I&amp;nbsp; will show &amp;ldquo;Installing and configuring test agent&amp;rdquo; which will help in running the CUITs from Microsoft Test Manager.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install the test agent by going through the installation wizard&lt;/li&gt;
&lt;li&gt;Launch configure test agent from start &amp;ndash;&amp;gt; All programs &amp;ndash;&amp;gt; Microsoft Visual Studio 2010 &amp;ndash;&amp;gt; Microsoft Visual Studio Test Agent 2010 Configuration Tool&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0511.5_5F00_2.jpg"&gt;&lt;img style="display: inline; border-width: 0px;" title="5" border="0" alt="5" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3666.5_5F00_thumb.jpg" width="238" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Enter domain\username in username and password in password text box&lt;/li&gt;
&lt;li&gt;Logon automatically: If this is checked it logs on automatically using the credentials provided, after computer restarts&amp;nbsp; (due to windows updates or any other reason)&lt;/li&gt;
&lt;li&gt;Click on &amp;ldquo;Ensure screensaver is disabled&amp;rdquo; checkbox to disable screensaver&lt;/li&gt;
&lt;li&gt;Click on run options button, make a selection to run the test agent as&lt;/li&gt;
&lt;li style="padding-left: 30px;"&gt;Service: The test agent will run as windows service, this is recommended mode when you need to run the automated tests that do not need to interact with desktop&lt;/li&gt;
&lt;li style="padding-left: 30px;"&gt;Interactive process: The test agent will run as interactive process, this is the you will not to select interactive process for coded UI tests&lt;/li&gt;
&lt;li&gt;Click on checkbox &amp;ldquo;Register with test controller&amp;rdquo;&amp;nbsp; and enter the controller name with port as 6901. Ex Controllername:6901, the agent will be registered with the controller and the controller can manage the agent&lt;/li&gt;
&lt;li&gt;Click on Apply Settings button&lt;/li&gt;
&lt;li&gt;This will configure the windows firewall to allow the test controller to communicate with the test agent&lt;/li&gt;
&lt;li&gt;The Test Agent Status will be shown near system tray, it will show the test progress ( test case execution) while running the tests&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2335.image_5F00_2.png"&gt;&lt;img style="display: inline; border: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3833.image_5F00_thumb.png" width="244" height="138" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10108581" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category></item><item><title>Installing and Configuring Test Controller</title><link>http://blogs.msdn.com/b/syedab/archive/2010/11/17/installing-and-configuring-test-controller.aspx</link><pubDate>Wed, 17 Nov 2010 14:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10092535</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10092535</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/11/17/installing-and-configuring-test-controller.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In continuation with my earlier blog posts on automation using VS2010, I&amp;nbsp; will show &amp;ldquo;Installing and configuring test controller&amp;rdquo; which will help in running the CUITs from Microsoft Test Manager.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install the test controller by going through the installation wizard&lt;/li&gt;
&lt;li&gt;Launch configure test controller from start &amp;ndash;&amp;gt; All programs &amp;ndash;&amp;gt; Microsoft Visual Studio 2010 &amp;ndash;&amp;gt; Microsoft Visual Studio Test Controller 2010 Configuration Tool&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1200.4_5F00_2.jpg"&gt;&lt;img style="display: inline; border-width: 0px;" title="4" border="0" alt="4" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8168.4_5F00_thumb.jpg" width="207" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;You can select network service/ this account (enter user name and password to be used) for the test controller service to be used&lt;/li&gt;
&lt;li&gt;Click on checkbox &amp;ldquo;Register with team project collection&amp;rdquo; this will be required as I will be creating and using environments to run tests&lt;/li&gt;
&lt;li&gt;Enter team project collection as &lt;a href="http://YourTFS:8080/TFS/MyCollection"&gt;http://YourTFS:8080/TFS/MyCollection&lt;/a&gt;. Make sure you select/enter appropriate team project collection. You should have access on TFS and the team project collection. Get the required access from your admin.&lt;/li&gt;
&lt;li&gt;Click on Apply settings&lt;/li&gt;
&lt;li&gt;This will configure windows firewall to allow test controller to communicate with test agents and also registers the test controller with team project collection.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10092535" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category></item><item><title>Associating coded UI test to manual testcase</title><link>http://blogs.msdn.com/b/syedab/archive/2010/10/06/associating-coded-ui-test-to-manual-testcase.aspx</link><pubDate>Wed, 06 Oct 2010 14:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10072249</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10072249</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/10/06/associating-coded-ui-test-to-manual-testcase.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;In earlier blog posts I have shown automating functional test cases using coded UI Test (CUIT), here I will show &amp;ldquo;Associating CUIT to manual testcase.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Right click on the solution, click on check-in.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3718.1_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="1" border="0" alt="1" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8203.1_5F00_thumb.jpg" width="244" height="162" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Check-in to Team foundation server (TFS) to appropriate folder, you should have permissions to check-in&lt;/li&gt;
&lt;li&gt;Open manual test case for which you want to associate CUIT in VS2010&lt;/li&gt;
&lt;li&gt;Click on automation tab&lt;/li&gt;
&lt;li&gt;Click on associate an automated test with test case ellipse&lt;/li&gt;
&lt;li&gt;The checked project along with CUITs will be shown, select appropriate CUIT name for the test case&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/7534.2_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="2" border="0" alt="2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/1261.2_5F00_thumb.jpg" width="244" height="126" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on ok&lt;/li&gt;
&lt;li&gt;The CUIT is associated with the test case&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6445.3_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="3" border="0" alt="3" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8105.3_5F00_thumb.jpg" width="244" height="56" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;You can remove the association by clicking on &amp;ldquo;Remove association&amp;rdquo; button&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10072249" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Software+Testing/">Software Testing</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/CUIT/">CUIT</category></item><item><title>HTTP Redirect in IIS 7.0</title><link>http://blogs.msdn.com/b/syedab/archive/2010/09/06/http-redirect-in-iis-7-0.aspx</link><pubDate>Mon, 06 Sep 2010 03:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10058354</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10058354</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/09/06/http-redirect-in-iis-7-0.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;We had a website in pilot and the URL was &lt;em&gt;applicaitonnamepilot&lt;/em&gt;. It was decided to move the website to production by removing the pilot from all the places in the website including URL as &lt;em&gt;applicationname&lt;/em&gt;. But the customers and stake holders might have bookmarked the link, as they navigate they will get error page. To overcome this we can use HTTP redirect feature in IIS. I set up new website as &lt;em&gt;applicaitonname &lt;/em&gt;and redirected the &lt;em&gt;applicaitonnamepilot&lt;/em&gt;&amp;nbsp; URL to &lt;em&gt;applicationname &lt;/em&gt;as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch IIS manager by Start &amp;ndash;&amp;gt; Run &amp;ndash; &amp;gt; inetmgr and press enter&lt;/li&gt;
&lt;li&gt;Click on the sites and navigate to the pilot website&lt;/li&gt;
&lt;li&gt;Click on HTTP redirect&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3007.HTTP1_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="HTTP1" border="0" alt="HTTP1" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6237.HTTP1_5F00_thumb.jpg" width="244" height="32" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on checkbox &amp;ldquo;Redirect requests to this destination&amp;rdquo; and enter appropriate URL to be redirected to&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/4186.HTTP2_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="HTTP2" border="0" alt="HTTP2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2043.HTTP2_5F00_thumb.jpg" width="244" height="153" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Status code has three options&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Found (302)&lt;/b&gt;: Tells the Web client to issue a new request to the location.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Permanent (301)&lt;/b&gt;: Tells the Web client that the location for the requested resource has permanently moved.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Temporary (307)&lt;/b&gt;: Tells the web client to resend POST data, which prevents a Web browser from losing data when the browser issues an HTTP POST request.&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Select permanent (301)&lt;/li&gt;
&lt;li&gt;Click on Apply in actions pane&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3823.HTTP3_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="HTTP3" border="0" alt="HTTP3" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5078.HTTP3_5F00_thumb.jpg" width="171" height="84" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The users hitting the pilot URL &lt;em&gt;applicationnamepilot &lt;/em&gt;will be redirected to &lt;em&gt;applicationame .&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10058354" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/IIS/">IIS</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/HTTP+Redirect/">HTTP Redirect</category></item><item><title>API Testing framework</title><link>http://blogs.msdn.com/b/syedab/archive/2010/08/05/api-testing-framework.aspx</link><pubDate>Thu, 05 Aug 2010 14:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10046573</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10046573</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/08/05/api-testing-framework.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;For one of my projects I had to test APIs, which takes input string, encode the input and return the encoded output strings. In this blog post am going to give the concept of API testing framework I used to test the APIs using reflection. We have other approaches of API testing like extending unit testing or using PEX.&lt;/p&gt;
&lt;p&gt;The framework works in two phases:&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Phase1: &lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The framework expects the path with the assembly to be tested&lt;/li&gt;
&lt;li&gt;Analyzes the assembly, generates the input files and expected files along with folder structure&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;Phase2:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The input and expected files should be updated with required test data&lt;/li&gt;
&lt;li&gt;Tests each API in the assembly with the set of test input data, compare with the expected data and generates report in output file&lt;/li&gt;
&lt;li&gt;It generates two reports&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;First report gives information about each API, its input, output and expected values and status for each test data&lt;/li&gt;
&lt;li&gt;Second report gives overall status of testing along with the API name and its pass/fail status&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10046573" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Software+Testing/">Software Testing</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/API+Testing+Framework/">API Testing Framework</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/API+Testing+Tool/">API Testing Tool</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Reflection/">Reflection</category></item><item><title>Linking work item types in VSTF 2010</title><link>http://blogs.msdn.com/b/syedab/archive/2010/07/12/linking-work-item-types-in-vstf-2010.aspx</link><pubDate>Mon, 12 Jul 2010 09:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10037042</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10037042</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/07/12/linking-work-item-types-in-vstf-2010.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;  &lt;p&gt;In the previous blog post we discussed “Creating and Using Team Foundation Server 2010 Queries”, lets explore linking work item types in VSTF 2010 - for example say creating sub tasks.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Create two tasks say task and sub task&lt;/li&gt;    &lt;li&gt;Open the task, go to all links tab&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6204.1_5F00_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="1" border="0" alt="1" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3157.1_5F00_thumb.jpg" width="244" height="81" /&gt;&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Click on “link to…”&lt;/li&gt;    &lt;li&gt;Select child in link type &lt;/li&gt;    &lt;li&gt;Click on Browse button&lt;/li&gt;    &lt;li&gt;Click on IDs and enter work item ID and click on Find&lt;/li&gt;    &lt;li&gt;Select the work item ID&lt;/li&gt;    &lt;li&gt;Click Ok&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/7282.2_5F00_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="2" border="0" alt="2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3581.2_5F00_thumb.jpg" width="244" height="184" /&gt;&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Click on Ok&lt;/li&gt;    &lt;li&gt;You have created the sub task for task, run the query (tree of work items type) to see the effect&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0880.3_5F00_2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="3" border="0" alt="3" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/7536.3_5F00_thumb.jpg" width="244" height="32" /&gt;&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;Similarly you can create link between other work item types, with various link types affectedby, child, parent etc)&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10037042" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VSTF+2010/">VSTF 2010</category></item><item><title>How To: Create and Use Team Foundation Server 2010 Queries</title><link>http://blogs.msdn.com/b/syedab/archive/2010/06/10/how-to-create-and-use-team-foundation-server-2010-queries.aspx</link><pubDate>Thu, 10 Jun 2010 14:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10022954</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10022954</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/06/10/how-to-create-and-use-team-foundation-server-2010-queries.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;Lets explore the basics of creating and using queries in Team foundation server (TFS).&lt;/p&gt;
&lt;p&gt;First and foremost you should connect to the project for which you want to create queries as;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launch the visual studio&lt;/li&gt;
&lt;li&gt;Click on View &amp;ndash; &amp;gt; Team explorer&lt;/li&gt;
&lt;li&gt;Click on the connect to team project in the team explorer&amp;nbsp; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8244.1_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="1" border="0" alt="1" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5100.1_5F00_thumb.jpg" width="244" height="88" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on servers button&lt;/li&gt;
&lt;li&gt;Click on add button&lt;/li&gt;
&lt;li&gt;Enter the name of the TFS&lt;/li&gt;
&lt;li&gt;Click on ok&lt;/li&gt;
&lt;li&gt;Click on close&lt;/li&gt;
&lt;li&gt;Select the required project from team project collections&lt;/li&gt;
&lt;li&gt;Select the required projects and click on connect&lt;/li&gt;
&lt;li&gt;The team explorer should show&amp;nbsp; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/4540.2_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="2" border="0" alt="2" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/7585.2_5F00_thumb.jpg" width="244" height="229" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Expand the project and work Items&amp;nbsp; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8171.3_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="3" border="0" alt="3" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8664.3_5F00_thumb.jpg" width="162" height="68" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;You should see two group of queries; my queries and team queries&lt;/li&gt;
&lt;li&gt;My queries: User can create/modify/delete the queries here, which&amp;nbsp; are personal queries available to user only&lt;/li&gt;
&lt;li&gt;Team queries: You need to have project administrator permissions to create/modify/delete queries here, these are available to entire team&lt;/li&gt;
&lt;li&gt;The process of creating/modify/delete remains same in either of the groups&lt;/li&gt;
&lt;li&gt;Right click on the my queries and select new query&amp;nbsp; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5050.4_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="4" border="0" alt="4" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/5543.4_5F00_thumb.jpg" width="244" height="143" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;There are three types of queries &lt;br /&gt;&amp;nbsp; &lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6433.5_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="5" border="0" alt="5" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3302.5_5F00_thumb.jpg" width="244" height="80" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;Flat list (Default) &amp;ndash; The query result set of this type will be depend on only work items only; it will return only list of items without any filter; similar to that of TFS 2008 feature; Example for bugs work item type, the query result is ( click on run to see the query result) &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/4314.6_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="6" border="0" alt="6" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8117.6_5F00_thumb.jpg" width="244" height="118" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Work Items and Direct Links &amp;ndash; The query result set of this type will depend on
&lt;ul&gt;
&lt;li&gt;Flat list&lt;/li&gt;
&lt;li&gt;Linked work items query and&lt;/li&gt;
&lt;li&gt;linking filters&amp;nbsp; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8032.7_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="7" border="0" alt="7" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8130.7_5F00_thumb.jpg" width="244" height="196" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Useful for work item types like tasks which will have sub tasks and want to list all Task items along with sub task items based on linking filters&lt;/li&gt;
&lt;li&gt;In the above example, first section will give result set of all Task items, second section will give all linked task items for each task and filters based on return all top level work items and return links of any type and the result is; ( Click on run button to see the query result) &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/8032.8_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="8" border="0" alt="8" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/4331.8_5F00_thumb.jpg" width="244" height="84" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Click on the fly out in title to see the sub tasks&lt;/li&gt;
&lt;li&gt;Linking filters: We have two groups of linking filters
&lt;ul&gt;
&lt;li&gt;Top level work items: This has three types
&lt;ul&gt;
&lt;li&gt;Return all top level work items &amp;ndash; Returns all top level work items&lt;/li&gt;
&lt;li&gt;Only return items that have the specified links &amp;ndash; Returns items based on the type of links specified (see next section)&lt;/li&gt;
&lt;li&gt;Only return items that do not have the specified links &amp;ndash; Reverse of the second type&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Types of links: There are two types of links
&lt;ul&gt;
&lt;li&gt;Return links of any type &amp;ndash; returns links irrespective of the link type ( Creating links and its usage would be covered in the next blog post)&lt;/li&gt;
&lt;li&gt;Return selected link types &amp;ndash; Returns only selected link types. Example say set child type of link and top level work items as only return items that have specified links will give query result having work items with sub work items; ( Click on run button to see the query result) &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/0647.9_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="9" border="0" alt="9" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/3683.9_5F00_thumb.jpg" width="244" height="143" /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Similarly you can try other combinations&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Tree of work items &amp;ndash; The query result of this type depends on flat list and linked work items. Example the query result set shows all task items in tree mode ( Click on run button to see the query result) &lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/2703.10_5F00_2.jpg"&gt;&lt;img style="display: inline; border: 0px;" title="10" border="0" alt="10" src="http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-21-69-metablogapi/6332.10_5F00_thumb.jpg" width="221" height="244" /&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;Make the required selections and click on save query&lt;/li&gt;
&lt;li&gt;Click on Run to see the query result&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;---------------------------------------------------------&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ff0000;"&gt;&lt;strong&gt;Please leave a comment if the blog post has helped you.&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10022954" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category></item><item><title>Printing stored procedure</title><link>http://blogs.msdn.com/b/syedab/archive/2010/06/07/printing-stored-procedure.aspx</link><pubDate>Mon, 07 Jun 2010 13:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10020863</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10020863</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/06/07/printing-stored-procedure.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;For one of my projects I had to validate the changes in some 50 stored procedures (SP). You can do this in;&lt;/p&gt;
&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;Connect to DB, Click on your Database (DB), programmability &amp;ndash;&amp;gt; stored procedures, right click on the each SP and click on modify to open and validate it&lt;/li&gt;
&lt;li&gt;Easy way is to, right click on your database, click on tasks, click on generate scripts follow through the script wizard and generate the scripts to a file&lt;/li&gt;
&lt;li&gt;One more way is by coding&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;sp_helptext &amp;ldquo;stored procedure name&amp;rdquo; it prints one SP code&lt;/li&gt;
&lt;li&gt;The following code lists out code for all the SPs in a DB &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;" id="codeSnippetWrapper"&gt;
&lt;div style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;" id="codeSnippet"&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum1"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;use&lt;/span&gt; master&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum2"&gt; 2:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;GO&lt;/span&gt; &lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum3"&gt; 3:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;drop&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;table&lt;/span&gt; #temp1&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum4"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;create&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;table&lt;/span&gt; #temp1 (id &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;identity&lt;/span&gt;,name &lt;span style="color: #0000ff;"&gt;varchar&lt;/span&gt;(128))&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum5"&gt; 5:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;USE&lt;/span&gt; YourDBname&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum6"&gt; 6:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;GO&lt;/span&gt; &lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum7"&gt; 7:&lt;/span&gt; insert &lt;span style="color: #0000ff;"&gt;into&lt;/span&gt; #temp1 &lt;span style="color: #0000ff;"&gt;select&lt;/span&gt; name &lt;span style="color: #0000ff;"&gt;from&lt;/span&gt; sysobjects &lt;span style="color: #0000ff;"&gt;where&lt;/span&gt; xtype=&lt;span style="color: #006080;"&gt;'p'&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum8"&gt; 8:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;go&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum9"&gt; 9:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;declare&lt;/span&gt; @var &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum10"&gt; 10:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;declare&lt;/span&gt; @sp_name &lt;span style="color: #0000ff;"&gt;varchar&lt;/span&gt;(128)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum11"&gt; 11:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;declare&lt;/span&gt; @cmd &lt;span style="color: #0000ff;"&gt;varchar&lt;/span&gt;(128)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum12"&gt; 12:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;set&lt;/span&gt; @var = 1&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum13"&gt; 13:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; @var &amp;lt;= (&lt;span style="color: #0000ff;"&gt;select&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;count&lt;/span&gt; (1) &lt;span style="color: #0000ff;"&gt;from&lt;/span&gt; #temp1)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum14"&gt; 14:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;begin&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum15"&gt; 15:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;select&lt;/span&gt; @sp_name = name &lt;span style="color: #0000ff;"&gt;from&lt;/span&gt; #temp1 &lt;span style="color: #0000ff;"&gt;where&lt;/span&gt; id = @var&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum16"&gt; 16:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;set&lt;/span&gt; @cmd = &lt;span style="color: #006080;"&gt;'sp_helptext '&lt;/span&gt; + @sp_name&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum17"&gt; 17:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;exec&lt;/span&gt; (@cmd)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum18"&gt; 18:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;set&lt;/span&gt; @var = @var+1&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum19"&gt; 19:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;end&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum20"&gt; 20:&lt;/span&gt; go&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;- S&lt;em&gt;yed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10020863" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/SQL+Server+2008/">SQL Server 2008</category></item><item><title>Data warehouse concepts</title><link>http://blogs.msdn.com/b/syedab/archive/2010/06/02/data-warehouse-concepts.aspx</link><pubDate>Wed, 02 Jun 2010 06:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10018682</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10018682</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/06/02/data-warehouse-concepts.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;During my initial stages at Microsoft, I had an opportunity to work on a data warehousing project. This write up is follow-up with the hands on experience I had with the project for over a year.&lt;/p&gt;
&lt;p&gt;Let me give a brief history of the project, v3.0 was a simple on-line transaction processing (OLTP) solution developed with SQL 2005. The drawbacks with the system was&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Huge wait time for the queries to execute and complete&lt;/li&gt;
&lt;li&gt;Difficulty in maintenance&lt;/li&gt;
&lt;li&gt;Difficulty in extending the functionalities&lt;/li&gt;
&lt;li&gt;Limitation of amount of data storage&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We went from OLTP in v3.0 to on-line analytical processing OLAP v4.0 aiming to overcome the drawbacks and also improve on the amount of data storage with SQL 2008 and use features like table partitioning, compression and others;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Less time to execute even complex queries&lt;/li&gt;
&lt;li&gt;Performance improvements in terms of processing, data loading and querying data&lt;/li&gt;
&lt;li&gt;Progress information&lt;/li&gt;
&lt;li&gt;Effective usage of the available resources&lt;/li&gt;
&lt;li&gt;Beautiful executive reports can be generated and shared with customers&lt;/li&gt;
&lt;li&gt;Ease of maintenance and extendibility&lt;/li&gt;
&lt;li&gt;Better analysis of data&lt;/li&gt;
&lt;li&gt;Huge amount of storage of data 60 TB&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following are the definition and differences of OLTP and OLTA:&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;On-line transaction processing (OLTP):&lt;/span&gt;&lt;/b&gt; It&amp;rsquo;s normally used in day to day transaction applications, forms original source of data and involves on-line transactions insert, update and delete. The systems are fast in query processing and maintain data integrity.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;On-line analytical processing (OLAP):&lt;/span&gt;&lt;/b&gt; Used in data mining solutions, source of data can come from OLTP DBs or log files, helps in analyzing data and make appropriate planning and decisions, multi-dimensional view of the business activities.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s understand the basics of data warehousing terminologies involved;&lt;/p&gt;
&lt;p&gt;Data warehousing is suitable for solutions which require analysis of huge sets of data. It will have star/snowflake schema, dimension tables, fact tables, rules and ETL tools.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Star schema:&lt;/span&gt;&lt;/b&gt; In star schema one fact table associated with one or more dimension tables you can visualize it as a star fact table being in the center and dimensions surrounding it. Star schema has fact table in normalized format and dimensions in de normalized format.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Snowflake schema:&lt;/span&gt;&lt;/b&gt; In snowflake schema one fact table is associated with one or more dimension tables and these dimension tables are associated with one or more dimension tables. In this both fact and dimensions are in normalized format.&lt;/p&gt;
&lt;p&gt;We used star schema in our data warehouse solution.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Dimension tables:&lt;/span&gt;&lt;/b&gt; stores information like identity based on which we want to query the data warehouse fact tables example sales by country; here country becomes dimension all countries will be stored in the countries dimension table.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Fact tables:&lt;/span&gt;&lt;/b&gt; stores information like the facts which are essentially stores all transactions example sales or purchase transactions.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Rules:&lt;/span&gt;&lt;/b&gt; Before storing data we may want to apply certain business rule. We have Transformation rules, filter rules and lookup rules.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Transformation rule:&lt;/span&gt;&lt;/b&gt; Before storing data in to data warehouse we want to transform the data available example aggregate data before storing or remove version number.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Filter rule:&lt;/span&gt;&lt;/b&gt; Certain data we don&amp;rsquo;t want to store in data warehouse example invalid links or page not found links details which are present in source we don&amp;rsquo;t want in data warehouse use the filter rule.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="text-decoration: underline;"&gt;Lookup rule:&lt;/span&gt;&lt;/b&gt; Update certain dimensions while loading data from source example updating dimension countries&lt;/p&gt;
&lt;p&gt;The dimensions and rules needs to be defined by the business.&lt;/p&gt;
&lt;p&gt;At high level any data warehouse will have the following components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Source of data &amp;ndash; source is upstream, it can be database or log files&lt;/li&gt;
&lt;li&gt;Dimension tables data &amp;ndash; data comes from feed store or from source&lt;/li&gt;
&lt;li&gt;Fact tables data &amp;ndash; data comes from source&lt;/li&gt;
&lt;li&gt;Processing of data &amp;ndash; extract data, apply rules, transform and load in data warehouse&lt;/li&gt;
&lt;li&gt;Notification mails&lt;/li&gt;
&lt;li&gt;Event log&lt;/li&gt;
&lt;li&gt;Views to query data&lt;/li&gt;
&lt;li&gt;Different user profiles DB to run adhoc queries using SQL 2008&lt;/li&gt;
&lt;li&gt;Reports &amp;ndash; reports forms the downstream for the data warehouse&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;There can be multiple levels or layers to achieve the same say data from source is copied using batch job tool and for processing and loading data we can use extract transform and load (ETL) tools example SSIS.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;- S&lt;em&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;yed Aslam Basha (&lt;/span&gt;&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;&lt;span style="color: blue; font-family: 'Calibri','sans-serif';"&gt;syedab@microsoft.com&lt;/span&gt;&lt;/em&gt;&lt;/a&gt;&lt;em&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;)&lt;/span&gt;&lt;/em&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;Microsoft Information Security Tools (IST) Team&lt;/span&gt;&lt;/em&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;Test Lead&lt;/span&gt;&lt;/em&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10018682" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/SQL+Server/">SQL Server</category></item><item><title>Generate GUID using guidgen.exe</title><link>http://blogs.msdn.com/b/syedab/archive/2010/05/10/generate-guid-using-guing-guidgen-exe.aspx</link><pubDate>Mon, 10 May 2010 04:41:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10010012</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10010012</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/05/10/generate-guid-using-guing-guidgen-exe.aspx#comments</comments><description>&lt;p&gt;This is Syed Aslam Basha here from Information security and risk management team.&lt;/p&gt;
&lt;p&gt;You can generate Global unique identifier (GUID) using guidgen.exe, which is installed at &amp;ldquo;C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\guidgen.exe"&lt;/p&gt;
&lt;p&gt;Launch GUID generator;&lt;/p&gt;
&lt;p&gt;Click on start-&amp;gt;All programs-&amp;gt;Microsoft Visual studio 2010-&amp;gt;Microsoft Windows SDK tools-&amp;gt;GUID generator&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/syedab/WindowsLiveWriter/GenerateGUIDusingguingguidgen.exe_8F69/image_2.png"&gt;&lt;img style="display: inline; border-width: 0px;" title="image" border="0" alt="image" src="http://blogs.msdn.com/blogfiles/syedab/WindowsLiveWriter/GenerateGUIDusingguingguidgen.exe_8F69/image_thumb.png" width="235" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When the tool is launched or when you click on New GUID a new GUID is generated in result box. Click on copy to copy it to clipboard and use it. You can generate GUIDs in required format by selecting different GUID formats available.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;-Syed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10010012" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/C_2300_/">C#</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Software+Testing/">Software Testing</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/VS+2010/">VS 2010</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/-NET/">.NET</category></item><item><title>How To: Generate lots of Globally unique identifiers (GUID) using SQL 2008</title><link>http://blogs.msdn.com/b/syedab/archive/2010/05/03/how-to-generate-lots-of-globally-unique-identifiers-guid-using-sql-2008.aspx</link><pubDate>Mon, 03 May 2010 06:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10006147</guid><dc:creator>Syed Aslam basha</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/syedab/rsscomments.aspx?WeblogPostID=10006147</wfw:commentRss><comments>http://blogs.msdn.com/b/syedab/archive/2010/05/03/how-to-generate-lots-of-globally-unique-identifiers-guid-using-sql-2008.aspx#comments</comments><description>&lt;p&gt;Syed Aslam Basha here&amp;nbsp;from the Information Security Tools Team.&lt;/p&gt;
&lt;p&gt;For one of my projects I had to load the database (DB) with huge number of transactions and check for look and feel of the application. Some of the fields in DB required unique identifier, with the following SQL statement you can generate single GUID&lt;/p&gt;
&lt;div style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;" id="codeSnippetWrapper"&gt;
&lt;div style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;" id="codeSnippet"&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum1"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;select&lt;/span&gt; NEWID()&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use the following code snippet to generate the required number of GUIDs by modifying the RequiredNoOfGuids value&lt;/p&gt;
&lt;div style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New', courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: silver 1px solid; padding: 4px;" id="codeSnippetWrapper"&gt;
&lt;div style="text-align: left; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;" id="codeSnippet"&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum1"&gt; 1:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;use&lt;/span&gt; master&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum2"&gt; 2:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;GO&lt;/span&gt; &lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum3"&gt; 3:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;drop&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;table&lt;/span&gt; #GUIDstable&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum4"&gt; 4:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;create&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;table&lt;/span&gt; #GUIDstable (GUIDsCol uniqueidentifier)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum5"&gt; 5:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;declare&lt;/span&gt; @RequiredNoOfGuids &lt;span style="color: #0000ff;"&gt;int&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum6"&gt; 6:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;set&lt;/span&gt; @RequiredNoOfGuids = 2&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum7"&gt; 7:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;while&lt;/span&gt; @RequiredNoOfGuids &amp;gt; (&lt;span style="color: #0000ff;"&gt;select&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;count&lt;/span&gt; (1) &lt;span style="color: #0000ff;"&gt;from&lt;/span&gt; #GUIDstable)&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum8"&gt; 8:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;begin&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum9"&gt; 9:&lt;/span&gt; insert &lt;span style="color: #0000ff;"&gt;into&lt;/span&gt; #GUIDstable &lt;span style="color: #0000ff;"&gt;select&lt;/span&gt; NEWID()&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum10"&gt; 10:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;end&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum11"&gt; 11:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;go&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum12"&gt; 12:&lt;/span&gt; &lt;span style="color: #0000ff;"&gt;select&lt;/span&gt; * &lt;span style="color: #0000ff;"&gt;from&lt;/span&gt; #GUIDstable&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="text-align: left; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;"&gt;&lt;span style="color: #606060;" id="lnum13"&gt; 13:&lt;/span&gt; go&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;I am sure there are many ways of doing the same, I have used temp tables for my requirement. Any other ways?&lt;/p&gt;
&lt;p&gt;&lt;em&gt;-Syed Aslam Basha (&lt;/em&gt;&lt;a href="mailto:syedab@microsoft.com"&gt;&lt;em&gt;syedab@microsoft.com&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Microsoft Information Security Tools (IST) Team&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Test Lead&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'Calibri','sans-serif';"&gt;---------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="background: red; font-family: 'Calibri','sans-serif';"&gt;Please leave a comment if the blog post has helped you.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10006147" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/syedab/archive/tags/Automation/">Automation</category><category domain="http://blogs.msdn.com/b/syedab/archive/tags/SQL+Server+2008/">SQL Server 2008</category></item></channel></rss>