<?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: Using PowerShell and WatiN (PowerWatin?)</title>
	<atom:link href="http://huddledmasses.org/using-powershell-and-watin-powerwatin/feed/" rel="self" type="application/rss+xml" />
	<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/</link>
	<description>You can do more than breathe for free...</description>
	<lastBuildDate>Thu, 26 Aug 2010 20:19:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: wasabi</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212343</link>
		<dc:creator>wasabi</dc:creator>
		<pubDate>Thu, 12 Mar 2009 08:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212343</guid>
		<description>Joel, you are my hero!</description>
		<content:encoded><![CDATA[<p>Joel, you are my hero!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212338</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Wed, 11 Mar 2009 02:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212338</guid>
		<description>Well, WatiN doesn&#039;t expose the columns, only the rows (because it just mirrors the HTML).  So you have to iterate on the TableRows ... just for fun, I&#039;ll add an example to the main article, and re-publish it.</description>
		<content:encoded><![CDATA[<p>Well, WatiN doesn&#8217;t expose the columns, only the rows (because it just mirrors the <span class="caps">HTML</span>).  So you have to iterate on the TableRows &#8230; just for fun, I&#8217;ll add an example to the main article, and re-publish it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wasabi</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212336</link>
		<dc:creator>wasabi</dc:creator>
		<pubDate>Tue, 10 Mar 2009 18:55:37 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212336</guid>
		<description>I love this article. It&#039;s a great primer! Jaykul, how do you parse a column in table list on a website?</description>
		<content:encoded><![CDATA[<p>I love this article. It&#8217;s a great primer! Jaykul, how do you parse a column in table list on a website?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212320</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Fri, 06 Mar 2009 01:52:43 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212320</guid>
		<description>I haven&#039;t messed with it very much ... I assume that Find*ing by anything other than _id_ or _index_ is going to take awhile, particularly if you&#039;re looking at an element-type that there are a lot of (say, paragraphs, or divs ... or whatever).

But hey, I dono :) -- Like I said, I haven&#039;t worked on Web testing in ages, and I haven&#039;t used WatiN for anything but playing with it from PowerShell to write this post as an answer to a Twitter question :-P</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t messed with it very much &#8230; I assume that Find*ing by anything other than <em>id</em> or <em>index</em> is going to take awhile, particularly if you&#8217;re looking at an element-type that there are a lot of (say, paragraphs, or divs &#8230; or whatever).</p>
<p>But hey, I dono  <img src='http://huddledmasses.org/wordpress/wp-includes/images/smilies/../../../wp-content/plugins/smilingmasses/smile.gif' alt=':)' class='wp-smiley' />  &#8212; Like I said, I haven&#8217;t worked on Web testing in ages, and I haven&#8217;t used WatiN for anything but playing with it from PowerShell to write this post as an answer to a Twitter question  <img src='http://huddledmasses.org/wordpress/wp-includes/images/smilies/../../../wp-content/plugins/smilingmasses/raspberry.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Kozmic</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212319</link>
		<dc:creator>Adam Kozmic</dc:creator>
		<pubDate>Thu, 05 Mar 2009 18:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212319</guid>
		<description>Hi Joel.  Good stuff, last year we actually worked on an engine that would push all Watin calls to an STA thread running in the background, and then pull the results of the call back to our original thread....it was quite the nightmare, and while it worked, it was buggy. 

Needless to say, I am excited for the possibilities in Powershell CTP3.

I messed around with your code and tried some of my own, and the one thing I&#039;m noticing is that attempting to find an element that isn&#039;t there takes a very long time to fail ...sometimes it doesn&#039;t come back at all. It just sits there. I&#039;m wondering if this is related to powershell itself. Perhaps the way that Powershell handles STA results in some weird threading issue which doesn&#039;t allow the timeout to happen?   Have you seen this as well?  

Thanks,
Adam</description>
		<content:encoded><![CDATA[<p>Hi Joel.  Good stuff, last year we actually worked on an engine that would push all Watin calls to an <span class="caps">STA</span> thread running in the background, and then pull the results of the call back to our original thread&#8230;.it was quite the nightmare, and while it worked, it was buggy. </p>
<p>Needless to say, I am excited for the possibilities in Powershell CTP3.</p>
<p>I messed around with your code and tried some of my own, and the one thing I&#8217;m noticing is that attempting to find an element that isn&#8217;t there takes a very long time to fail &#8230;sometimes it doesn&#8217;t come back at all. It just sits there. I&#8217;m wondering if this is related to powershell itself. Perhaps the way that Powershell handles <span class="caps">STA</span> results in some weird threading issue which doesn&#8217;t allow the timeout to happen?   Have you seen this as well?  </p>
<p>Thanks,<br />
Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212307</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Tue, 03 Mar 2009 21:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212307</guid>
		<description>Oh my goodness, yes. That was not a silly question at all. It should have said @New-Item -Path &quot;Function:Global:Find-@... to start with, and I&#039;ve changed it to that now. 

Nice catch. Originally I had written it as a SCRIPT file, which I could dot-source, and I missed that when I converted it into a function.  Incidentally, as a *Bonus Tip*: %(em2)you *can* dot-source functions%.</description>
		<content:encoded><![CDATA[<p>Oh my goodness, yes. That was not a silly question at all. It should have said <code>New-Item -Path &#34;Function:Global:Find-</code>&#8230; to start with, and I&#8217;ve changed it to that now. </p>
<p>Nice catch. Originally I had written it as a <span class="caps">SCRIPT</span> file, which I could dot-source, and I missed that when I converted it into a function.  Incidentally, as a <strong>Bonus Tip</strong>: <span class="em2">you <strong>can</strong> dot-source functions</span>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Schulte</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212302</link>
		<dc:creator>Klaus Schulte</dc:creator>
		<pubDate>Tue, 03 Mar 2009 15:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212302</guid>
		<description>Hello Joel,

having been enthusiastic of the way to generate a bunch of functions from the DLL, I tried to reproduce your results.
Naively I copied the code into the ISE and called &quot;Start-Watin&quot; with no functions being generated:

___________________________________________________________________________________________________________________________________
PS C:\Dokumente und Einstellungen\Schulte&gt; dir Function:F*

CommandType     Name                                                      Definition                                              
-----------     ----                                                      ----------                                              
Function        F:                                                        Set-Location F:                                         

OK ... I did find out, that the functions have been defined inside the &quot;Start-Watin&quot; function itself and that they are out of scope when that function ends.

That brings up the question: Is there a way to let the generated functions &quot;survive&quot; the end of the generator function? .. something like the $global: prefix?

( I&#039;m starting to learn PS ... and I hope the question is not too silly :-)

kind regards, Klaus</description>
		<content:encoded><![CDATA[<p>Hello Joel,</p>
<p>having been enthusiastic of the way to generate a bunch of functions from the <span class="caps">DLL</span>, I tried to reproduce your results.<br />
Naively I copied the code into the <span class="caps">ISE</span> and called &#8220;Start-Watin&#8221; with no functions being generated:</p>
<p>___________________________________________________________________________________________________________________________________<br />
PS C:\Dokumente und Einstellungen\Schulte&gt; dir Function:F*</p>
<p>CommandType     Name                                                      Definition                                              <br />
&#8212;&#8212;&#8212;&#8212;&#8212;-     &#8212;&#8212;                                                      &#8212;&#8212;&#8212;&#8212;&#8212;                                              <br />
Function        F:                                                        Set-Location F:                                         </p>
<p>OK &#8230; I did find out, that the functions have been defined inside the &#8220;Start-Watin&#8221; function itself and that they are out of scope when that function ends.</p>
<p>That brings up the question: Is there a way to let the generated functions &#8220;survive&#8221; the end of the generator function? .. something like the $global: prefix?</p>
<p>( I&#8217;m starting to learn PS &#8230; and I hope the question is not too silly  <img src='http://huddledmasses.org/wordpress/wp-includes/images/smilies/../../../wp-content/plugins/smilingmasses/smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>kind regards, Klaus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel 'Jaykul' Bennett</title>
		<link>http://huddledmasses.org/using-powershell-and-watin-powerwatin/comment-page-1/#comment-212179</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Wed, 25 Feb 2009 06:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1111#comment-212179</guid>
		<description>I don&#039;t do web testing anymore, but if someone wants to send me a hefty bounty, I could probably be convinced to take this further another day -- it&#039;s pretty cool, and would coincide fairly well to my &quot;WASP&quot;:http://wasp.codeplex.com project. ;)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t do web testing anymore, but if someone wants to send me a hefty bounty, I could probably be convinced to take this further another day &#8212; it&#8217;s pretty cool, and would coincide fairly well to my <a href="http://wasp.codeplex.com">WASP</a> project.  <img src='http://huddledmasses.org/wordpress/wp-includes/images/smilies/../../../wp-content/plugins/smilingmasses/wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
