<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Test Automation: Programmatic Platform Profiling</title>
	<atom:link href="http://www.testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/</link>
	<description>Treatises on the practice of software testing</description>
	<lastBuildDate>Tue, 07 Feb 2012 09:15:11 -0500</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: I.M. Testy &#8250; Programmatically Detecting The Operating System Version (Part II)</title>
		<link>http://www.testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/comment-page-1/#comment-631</link>
		<dc:creator>I.M. Testy &#8250; Programmatically Detecting The Operating System Version (Part II)</dc:creator>
		<pubDate>Wed, 03 Mar 2010 19:35:27 +0000</pubDate>
		<guid isPermaLink="false">http://testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/#comment-631</guid>
		<description>[...] 2 years ago I described a way to get the operating system version information using the System.PlatformID enumeration and the [...]</description>
		<content:encoded><![CDATA[<p>[...] 2 years ago I described a way to get the operating system version information using the System.PlatformID enumeration and the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: testingmentor</title>
		<link>http://www.testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/comment-page-1/#comment-243</link>
		<dc:creator>testingmentor</dc:creator>
		<pubDate>Thu, 19 Nov 2009 02:06:13 +0000</pubDate>
		<guid isPermaLink="false">http://testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/#comment-243</guid>
		<description>Hi Stth10,

I agree with you that option #2 (common code with OS dependent runtime handling) is a better practice as it would make maintainability of the code much easier and have less redundancy.

Thursday, July 03, 2008 9:49 AM by I.M.Testy</description>
		<content:encoded><![CDATA[<p>Hi Stth10,</p>
<p>I agree with you that option #2 (common code with OS dependent runtime handling) is a better practice as it would make maintainability of the code much easier and have less redundancy.</p>
<p>Thursday, July 03, 2008 9:49 AM by I.M.Testy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: testingmentor</title>
		<link>http://www.testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/comment-page-1/#comment-242</link>
		<dc:creator>testingmentor</dc:creator>
		<pubDate>Thu, 19 Nov 2009 02:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://testingmentor.com/imtesty/2009/11/18/test-automation-programmatic-platform-profiling/#comment-242</guid>
		<description>Hi,

Which approach below are you using typically and what do you recommend?

[pseudo code]

#1 Test code branches

strOS = GetOSVersion

If strOS = &quot;Win95&quot; Then RunTestWin95

#2 Common test code with OS-dependant run-time specific handling

strOS = GetOSVersion

RunTest (strOS)

Function RunTest (strOS)

If strOS = &quot;Win95&quot; Then...

End Function

I use #2 with our main AUT using GetAUTVersion within a test case but I am curious what is regarded as recommended best practice in this area.

Wednesday, July 02, 2008 9:33 AM by stth10</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Which approach below are you using typically and what do you recommend?</p>
<p>[pseudo code]</p>
<p>#1 Test code branches</p>
<p>strOS = GetOSVersion</p>
<p>If strOS = &#8220;Win95&#8243; Then RunTestWin95</p>
<p>#2 Common test code with OS-dependant run-time specific handling</p>
<p>strOS = GetOSVersion</p>
<p>RunTest (strOS)</p>
<p>Function RunTest (strOS)</p>
<p>If strOS = &#8220;Win95&#8243; Then&#8230;</p>
<p>End Function</p>
<p>I use #2 with our main AUT using GetAUTVersion within a test case but I am curious what is regarded as recommended best practice in this area.</p>
<p>Wednesday, July 02, 2008 9:33 AM by stth10</p>
]]></content:encoded>
	</item>
</channel>
</rss>

