<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>OfficeDeveloper.NET&#187; christin boyd</title>
	<atom:link href="http://officedeveloper.net/tag/christin-boyd/feed/" rel="self" type="application/rss+xml" />
	<link>http://officedeveloper.net</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 20:08:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Test Automation Tips: “User Name” dialog after new install of Word (Christin Boyd, Bill Robertson)</title>
		<link>http://officedeveloper.net/2009/05/05/test-automation-tips-%e2%80%9cuser-name%e2%80%9d-dialog-after-new-install-of-word-christin-boyd-bill-robertson/</link>
		<comments>http://officedeveloper.net/2009/05/05/test-automation-tips-%e2%80%9cuser-name%e2%80%9d-dialog-after-new-install-of-word-christin-boyd-bill-robertson/#comments</comments>
		<pubDate>Tue, 05 May 2009 22:12:12 +0000</pubDate>
		<dc:creator>Staff</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Business Intelligence]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office Development]]></category>
		<category><![CDATA[VSTO]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[christin boyd]]></category>
		<category><![CDATA[dialog boxes]]></category>
		<category><![CDATA[microsoft word]]></category>
		<category><![CDATA[program-manager]]></category>
		<category><![CDATA[sharepoint 2010]]></category>
		<category><![CDATA[word 2007]]></category>

		<guid isPermaLink="false">http://officedeveloper.net/test-automation-tips-%e2%80%9cuser-name%e2%80%9d-dialog-after-new-install-of-word-christin-boyd-bill-robertson/</guid>
		<description><![CDATA[ We have a team of developers who focus entirely on writing test automation programs for the purpose of covering the huge matrix of test cases that Visual Studio requires.  We often configure new installs of Office and our automated tests need to deal with the special things that Office products do when you first run them after a new install.  For example, when you first run Microsoft Word after a new install, it prompts you to enter your name and initials in a dialog that looks like this: Our talented SDET’s (Software Development Engineer in Test) use the following function in their automated tests to suppress this dialog: using System.IO; using System.Diagnostics; public static bool AddOffice12UserInfo() { bool passed = false ; string [] commands = new string [5]; commands[0] = @&#34;add HKCUSoftwareMicrosoftOffice12.0Common /v UserData /t REG_DWORD /d 1 /f&#34; ; commands[1] = @&#34;add HKCUSoftwareMicrosoftOfficeCommonUserInfo /v Company /t REG_SZ /d Microsoft /f&#34; ; commands[2] = @&#34;add HKCUSoftwareMicrosoftOfficeCommonUserInfo /v UserName /t REG_SZ /d TestRun /f&#34; ; commands[3] = @&#34;add HKCUSoftwareMicrosoftOfficeCommonUserInfo /v UserInitials /t REG_SZ /d t /f&#34; ; commands[4] = @&#34;add HKCUSoftwareMicrosoftOffice12.0CommonGeneral /v ShownOptIn /t REG_DWORD /d 00000001 /f&#34; ; for ( int i = 0; i &#60; commands.Length; i++) { bool temp = StartREG(commands[i]); if (!temp) { return false ; } } passed = true ; return passed; } public static bool StartREG( string arguments) { bool passed = false ; int exitcode = -100; try { string localpath = Path.Combine(System.Environment.GetEnvironmentVariable( &#34;SYSTEMROOT&#34; ), &#34;system32&#34; ); System.Diagnostics.Process myProcess = new System.Diagnostics.Process(); myProcess.EnableRaisingEvents = false ; myProcess.StartInfo.FileName = Path.Combine(localpath, &#34;reg.exe&#34; ); myProcess.StartInfo.Arguments = arguments; myProcess.StartInfo.UseShellExecute = false ; myProcess.Start(); myProcess.WaitForExit(); exitcode = myProcess.ExitCode; if (exitcode == 0) { passed = true ; } else { Debug.WriteLine( &#34;reg exit code is::&#34; + myProcess.ExitCode.ToString()); } } catch (Exception ex) { Debug.Fail(ex.Message, ex.StackTrace); } return passed; } Let me know if these Test Automation samples are useful and we will try to publish more of these. ]]></description>
			<content:encoded><![CDATA[<p> We have a team of developers who focus entirely on writing test automation programs for the purpose of covering the huge matrix of test cases that Visual Studio requires.  We often configure new installs of Office and our automated tests need to deal with the special things that Office products do when you first run them after a new install.  For example, when you first run Microsoft Word after a new install, it prompts you to enter your name and initials in a dialog that looks like this: Our talented SDET’s (Software Development Engineer in Test) use the following function in their automated tests to suppress this dialog: using System.IO; using System.Diagnostics; public static bool AddOffice12UserInfo() { bool passed = false ; string [] commands = new string [5]; commands[0] = @&quot;add HKCUSoftwareMicrosoftOffice12.0Common /v UserData /t REG_DWORD /d 1 /f&quot; ; commands[1] = @&quot;add HKCUSoftwareMicrosoftOfficeCommonUserInfo /v Company /t REG_SZ /d Microsoft /f&quot; ; commands[2] = @&quot;add HKCUSoftwareMicrosoftOfficeCommonUserInfo /v UserName /t REG_SZ /d TestRun /f&quot; ; commands[3] = @&quot;add HKCUSoftwareMicrosoftOfficeCommonUserInfo /v UserInitials /t REG_SZ /d t /f&quot; ; commands[4] = @&quot;add HKCUSoftwareMicrosoftOffice12.0CommonGeneral /v ShownOptIn /t REG_DWORD /d 00000001 /f&quot; ; for ( int i = 0; i &lt; commands.Length; i++) { bool temp = StartREG(commands[i]); if (!temp) { return false ; } } passed = true ; return passed; } public static bool StartREG( string arguments) { bool passed = false ; int exitcode = -100; try { string localpath = Path.Combine(System.Environment.GetEnvironmentVariable( &quot;SYSTEMROOT&quot; ), &quot;system32&quot; ); System.Diagnostics.Process myProcess = new System.Diagnostics.Process(); myProcess.EnableRaisingEvents = false ; myProcess.StartInfo.FileName = Path.Combine(localpath, &quot;reg.exe&quot; ); myProcess.StartInfo.Arguments = arguments; myProcess.StartInfo.UseShellExecute = false ; myProcess.Start(); myProcess.WaitForExit(); exitcode = myProcess.ExitCode; if (exitcode == 0) { passed = true ; } else { Debug.WriteLine( &quot;reg exit code is::&quot; + myProcess.ExitCode.ToString()); } } catch (Exception ex) { Debug.Fail(ex.Message, ex.StackTrace); } return passed; } Let me know if these Test Automation samples are useful and we will try to publish more of these. </p>
<p><img src="" /></p>
<p>The rest is here:<br />
<a target="_blank" href="http://blogs.msdn.com/vsto/archive/2009/05/05/test-automation-tips-user-name-dialog-after-new-install-of-word-christin-boyd-bill-robertson.aspx" title="Test Automation Tips: “User Name” dialog after new install of Word (Christin Boyd, Bill Robertson)">Test Automation Tips: “User Name” dialog after new install of Word (Christin Boyd, Bill Robertson)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officedeveloper.net/2009/05/05/test-automation-tips-%e2%80%9cuser-name%e2%80%9d-dialog-after-new-install-of-word-christin-boyd-bill-robertson/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing for Office and SharePoint Server 2010 (Christin Boyd)</title>
		<link>http://officedeveloper.net/2009/05/01/developing-for-office-and-sharepoint-server-2010-christin-boyd/</link>
		<comments>http://officedeveloper.net/2009/05/01/developing-for-office-and-sharepoint-server-2010-christin-boyd/#comments</comments>
		<pubDate>Fri, 01 May 2009 21:08:42 +0000</pubDate>
		<dc:creator>Staff</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[VSTO]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[a-built-in-menu]]></category>
		<category><![CDATA[christin boyd]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[designer]]></category>
		<category><![CDATA[editing]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[sharepoint 2010]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[visual studio 2010]]></category>

		<guid isPermaLink="false">http://officedeveloper.net/developing-for-office-and-sharepoint-server-2010-christin-boyd/</guid>
		<description><![CDATA[ I get a lot of questions about the future.  When will Visual Studio release?   First half of 2010]]></description>
			<content:encoded><![CDATA[<p> I get a lot of questions about the future.  When will Visual Studio release?   First half of 2010</p>
<p>View post: <br />
<a target="_blank" href="http://blogs.msdn.com/vsto/archive/2009/05/01/developing-for-office-and-sharepoint-server-2010-christin-boyd.aspx" title="Developing for Office and SharePoint Server 2010 (Christin Boyd)">Developing for Office and SharePoint Server 2010 (Christin Boyd)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officedeveloper.net/2009/05/01/developing-for-office-and-sharepoint-server-2010-christin-boyd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sample: Northwind Office Business Application</title>
		<link>http://officedeveloper.net/2009/04/28/sample-northwind-office-business-application/</link>
		<comments>http://officedeveloper.net/2009/04/28/sample-northwind-office-business-application/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 19:55:00 +0000</pubDate>
		<dc:creator>Staff</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Office Development]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[VSTO]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[ado]]></category>
		<category><![CDATA[automated]]></category>
		<category><![CDATA[christin boyd]]></category>
		<category><![CDATA[microsoft word]]></category>
		<category><![CDATA[program-manager]]></category>
		<category><![CDATA[word 2007]]></category>

		<guid isPermaLink="false">http://officedeveloper.net/sample-northwind-office-business-application/</guid>
		<description><![CDATA[Learn how to expose line-of-business data using ADO.NET Data Services as well as interact with it in Outlook, Word, Excel and SharePoint 2007.]]></description>
			<content:encoded><![CDATA[<p>Learn how to expose line-of-business data using ADO.NET Data Services as well as interact with it in Outlook, Word, Excel and SharePoint 2007.</p>
<p><img src="" /></p>
<p>Here is the original:<br />
<a target="_blank" href="http://services.social.microsoft.com/feeds/FeedItem?feedId=146ffb4f-ecd0-4016-9e11-be93ec1694da&amp;itemId=d0ca5089-310f-4f9b-a9e2-e599e851650a&amp;title=Sample: Northwind Office Business Application &amp;uri=http://code.msdn.microsoft.com/OBANorthwind&amp;k=//BONLUjSmX/dm1GhYgVACUbh7ETig/1Dg0BjP8Oqp0=" title="Sample: Northwind Office Business Application">Sample: Northwind Office Business Application</a></p>
]]></content:encoded>
			<wfw:commentRss>http://officedeveloper.net/2009/04/28/sample-northwind-office-business-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

