<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>watir</title>
	
	<link>http://altentee.com/watir</link>
	<description>Web Application Testing In Ruby</description>
	<pubDate>Wed, 15 Oct 2008 11:21:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Just_add_watir" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Q. How do I integrate watir with TestLink?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/8twQeXkO2Mc/</link>
		<comments>http://altentee.com/watir/q-how-do-i-integrate-watir-with-testlink/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 11:11:19 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[firewatir]]></category>

		<category><![CDATA[watir]]></category>

		<category><![CDATA[testlink]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=51</guid>
		<description>A. This requires several hacks and use of the developer API &amp;#8230;

The first step to integrating these products is to download and install
TestLink 1.8.0 BETA2
Once finished, add the TestLink API BETA
Their blog has installation instructions for both.
Regarding the API there are a number of changes you will need to ensure:
1. create api_developer_keys table using the [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/8twQeXkO2Mc" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-integrate-watir-with-testlink/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-integrate-watir-with-testlink/</feedburner:origLink></item>
		<item>
		<title>Q. How do I install watir standalone?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/izzL9vYHCfM/</link>
		<comments>http://altentee.com/watir/q-how-do-i-install-watir-standalone/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 02:47:08 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[installation]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=50</guid>
		<description>A previous post highlights some ways in which you can install watir from behind a proxy server via the command line.
This approach can be problematic when using authenticated proxy servers. The following file is a simple MSI which will install Watir 1.5.6 with its required dependencies. The pre-requisites for this MSI are:
1. Ruby 1.8.6 installed [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/izzL9vYHCfM" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-install-watir-standalone/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-install-watir-standalone/</feedburner:origLink></item>
		<item>
		<title>Q. How do I use ci_reporter in my Test::Unit scripts?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/VME7j_alRMQ/</link>
		<comments>http://altentee.com/watir/q-how-do-i-use-ci_reporter-in-my-testunit-scripts/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 10:28:22 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[ci_reporter]]></category>

		<category><![CDATA[Test::Unit]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=49</guid>
		<description>A. Use a ci_reporter gem &amp;#8230;
To install the ci_reporter gem on windows:

gem install ci_reporter

If you&amp;#8217;re using Test::Unit, ensure the ci/reporter/rake/test_unit_loader.rb file is loaded before the test is run. If you&amp;#8217;re using RSpec, you‘ll need to pass the following arguments to the spec command:

 --require GEM_PATH/lib/ci/reporter/rake/rspec_loader
 --format CI::Reporter::RSpec

You may also want to set the output directory [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/VME7j_alRMQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-use-ci_reporter-in-my-testunit-scripts/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-use-ci_reporter-in-my-testunit-scripts/</feedburner:origLink></item>
		<item>
		<title>Q. How do I pass command line arguments to Test::Unit?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/QyQmM146Nds/</link>
		<comments>http://altentee.com/watir/q-how-do-i-pass-command-line-arguments-to-testunit/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 09:45:56 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[Test::Unit]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=48</guid>
		<description>A. Use the &amp;#8212; argument to stop processing Test::Unit specific arguments &amp;#8230;
Module Test::Unit has its own command line arguments as specified by the following:

~/just_add_watir $&amp;#62;ruby test_suite.rb --help
Test::Unit automatic runner.
Usage: test/unit/graph_test.rb [options] [-- untouched arguments]
&amp;#160;
    -r, --runner=RUNNER              Use the given [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/QyQmM146Nds" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-pass-command-line-arguments-to-testunit/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-pass-command-line-arguments-to-testunit/</feedburner:origLink></item>
		<item>
		<title>Q. How do I execute arbitrary javascript?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/oLl6BqwpnoA/</link>
		<comments>http://altentee.com/watir/q-how-do-i-execute-arbitrary-javascript/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 09:31:44 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.goto]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=47</guid>
		<description>A. Use the .goto method to call the javascript &amp;#8230;
Example html:

&amp;#60;HTML lang=&amp;#34;en-US&amp;#34; xmlns=&amp;#34;http://www.w3.org/1999/xhtml&amp;#34; xml:lang=&amp;#34;en-US&amp;#34;&amp;#62;
  &amp;#60;BODY scroll=&amp;#34;no&amp;#34;&amp;#62;
    &amp;#60;script type=&amp;#34;text/javascript&amp;#34; charset=&amp;#34;utf-8&amp;#34;&amp;#62;
      function openWin(i){
         alert(i);
      }
    &amp;#60;/script&amp;#62;
    &amp;#60;DIV id=&amp;#34;menuLayer1&amp;#34;&amp;#62;
  [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/oLl6BqwpnoA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-execute-arbitrary-javascript/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-execute-arbitrary-javascript/</feedburner:origLink></item>
		<item>
		<title>Q. How do I learn all the objects on a page? [firewatir]</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/lfyP9VOCK7g/</link>
		<comments>http://altentee.com/watir/how-do-i-learn-all-the-objects-on-a-page-firewatir/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 21:45:02 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[firewatir]]></category>

		<category><![CDATA[attributes]]></category>

		<category><![CDATA[methods]]></category>

		<category><![CDATA[objects]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=46</guid>
		<description>Sometimes you might wish to implement a QTP-like &amp;#8216;object repository&amp;#8217;. I&amp;#8217;ve had most success implementing this via Ruby modules.
To &amp;#8216;learn&amp;#8217; all the objects on a page using firewatir you can use a simple script like this:

require 'rubygems'
require 'firewatir'
&amp;#160;
class NilClass
  def length
    0
  end
end
&amp;#160;
class DiscoverObjects
  include FireWatir
&amp;#160;
  def initialize&amp;#40;url&amp;#41;
 [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/lfyP9VOCK7g" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/how-do-i-learn-all-the-objects-on-a-page-firewatir/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/how-do-i-learn-all-the-objects-on-a-page-firewatir/</feedburner:origLink></item>
		<item>
		<title>Q. How do I enter the current date or time into a textfield?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/5OFp6FmEOeo/</link>
		<comments>http://altentee.com/watir/q-how-do-i-enter-the-current-date-or-time-into-a-textfield/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 17:19:00 +0000</pubDate>
		<dc:creator>Sameh Abdelhamid</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[date]]></category>

		<category><![CDATA[time]]></category>

		<category><![CDATA[Time.now]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=45</guid>
		<description>A. Use the Time.now method &amp;#8230;
Example html:

&amp;#60;html&amp;#62;
   &amp;#60;body&amp;#62;
      &amp;#60;form method=&amp;#34;post&amp;#34; action=&amp;#34;&amp;#34;&amp;#62;
         &amp;#60;textarea name=&amp;#34;comments&amp;#34; cols=&amp;#34;40&amp;#34; rows=&amp;#34;1&amp;#34;&amp;#62;
            Enter your comments here...
         &amp;#60;/textarea&amp;#62;&amp;#60;br&amp;#62;
  [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/5OFp6FmEOeo" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-enter-the-current-date-or-time-into-a-textfield/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-enter-the-current-date-or-time-into-a-textfield/</feedburner:origLink></item>
		<item>
		<title>Q. How do I get the text displayed in a javascript popup?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/WJTskE--ZV8/</link>
		<comments>http://altentee.com/watir/q-how-do-i-get-the-text-displayed-in-a-javascript-popup/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 13:04:31 +0000</pubDate>
		<dc:creator>Sameh Abdelhamid</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.ControlGetText]]></category>

		<category><![CDATA[autoit]]></category>

		<category><![CDATA[popup]]></category>

		<category><![CDATA[win32OLE]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=44</guid>
		<description>A. Use the WIN32OLE extension library with the autoit function library &amp;#8230;
You will need to install autoit. You can download it here, once installed you can call the function library using the win32OLE extension library.
Example html:

&amp;#60;html&amp;#62;
   &amp;#60;head&amp;#62;
   &amp;#60;script language=&amp;#34;javascript&amp;#34;&amp;#62;
      function msgbox (textstring) {
    [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/WJTskE--ZV8" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-get-the-text-displayed-in-a-javascript-popup/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-get-the-text-displayed-in-a-javascript-popup/</feedburner:origLink></item>
		<item>
		<title>Q. How do I attach to a current IE session?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/QW03I_LqEyA/</link>
		<comments>http://altentee.com/watir/q-how-do-i-attach-to-a-current-ie-session/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 12:53:53 +0000</pubDate>
		<dc:creator>Sameh Abdelhamid</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.attach]]></category>

		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=43</guid>
		<description>A. Use the .attach method&amp;#8230;
Example watir:

@b=Watir::IE.attach&amp;#40;:title,//&amp;#41;

I have used regex here for the window title, you can be more specific if you like.&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/QW03I_LqEyA" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-attach-to-a-current-ie-session/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-attach-to-a-current-ie-session/</feedburner:origLink></item>
		<item>
		<title>Q. How do I deal with javascript popup’s?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/A8JszGWqqwk/</link>
		<comments>http://altentee.com/watir/q-how-do-i-deal-with-javascript-popups/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 10:34:41 +0000</pubDate>
		<dc:creator>Sameh Abdelhamid</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.click_no_wait]]></category>

		<category><![CDATA[autoit]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[popup]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=42</guid>
		<description>A. Invoke the autoit function library with the .click_no_wait method&amp;#8230;
You will need to install autoit. You can download it here, once installed you can call the function library using the win32OLE extension library.
Example html:

&amp;#60;html&amp;#62;
   &amp;#60;head&amp;#62;
   &amp;#60;script language=&amp;#34;javascript&amp;#34;&amp;#62;
      function msgbox (textstring) {
      [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/A8JszGWqqwk" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-deal-with-javascript-popups/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-deal-with-javascript-popups/</feedburner:origLink></item>
		<item>
		<title>How do I get the URL in IE?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/FR6CHWo1sK0/</link>
		<comments>http://altentee.com/watir/how-do-i-get-the-url-in-ie/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 07:02:10 +0000</pubDate>
		<dc:creator>Sameh Abdelhamid</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[autoit]]></category>

		<category><![CDATA[url]]></category>

		<category><![CDATA[win32OLE]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=41</guid>
		<description>A. Use the autoit function library with the win32OLE extension library&amp;#8230;
You will need to install autoit. You can download it here, once installed you can call the function library using the win32OLE extension library.

require 'watir'
require 'rubygems'
require 'win32ole'
autoit = WIN32OLE.new&amp;#40;'AutoItX3.Control'&amp;#41; 
url = autoit.ControlGetText&amp;#40;&amp;#34;[CLASS:IEFrame]&amp;#34;, &amp;#34;&amp;#34;, &amp;#34;Edit1&amp;#34;&amp;#41;
puts &amp;#34;url is &amp;#34; + url

The defintion for the autoit function &amp;#8216;ControlGetText&amp;#8217; [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/FR6CHWo1sK0" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/how-do-i-get-the-url-in-ie/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/how-do-i-get-the-url-in-ie/</feedburner:origLink></item>
		<item>
		<title>Q. How do I set a checkbox with a dynamic id attribute?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/tGLuxLPftSQ/</link>
		<comments>http://altentee.com/watir/q-how-do-i-set-a-checkbox-with-a-dynamic-id-attribute/#comments</comments>
		<pubDate>Fri, 15 Aug 2008 03:59:10 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.checkbox]]></category>

		<category><![CDATA[.gsub]]></category>

		<category><![CDATA[.html]]></category>

		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=40</guid>
		<description>A. Use a regex match  to populate a dynamic variable &amp;#8230;
Example html:

&amp;#60;form action=&amp;#34;test_0019.html&amp;#34; method=&amp;#34;get&amp;#34; accept-charset=&amp;#34;utf-8&amp;#34;&amp;#62;
&amp;#60;input id=&amp;#34;cblRoles_3&amp;#34; type=&amp;#34;checkbox&amp;#34; tabindex=&amp;#34;47&amp;#34; name=&amp;#34;cblRoles:3&amp;#34;/&amp;#62;
&amp;#60;label for=&amp;#34;cblRoles_3&amp;#34;&amp;#62;Customer&amp;#60;/label&amp;#62; 
&amp;#60;input id=&amp;#34;cblRoles_4&amp;#34; type=&amp;#34;checkbox&amp;#34; tabindex=&amp;#34;48&amp;#34; name=&amp;#34;cblRoles:4&amp;#34;/&amp;#62;
&amp;#60;label for=&amp;#34;cblRoles_4&amp;#34;&amp;#62;Expedite&amp;#60;/label&amp;#62;

Example watir:

dynamic_id = @b.html&amp;#91;/cblRoles_\d+&amp;#62;Expedite/&amp;#93;.gsub&amp;#40;&amp;#34;&amp;#62;Expedite&amp;#34;,&amp;#34;&amp;#34;&amp;#41;
@b.checkbox&amp;#40;:id,dynamic_id&amp;#41;.set&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/tGLuxLPftSQ" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-set-a-checkbox-with-a-dynamic-id-attribute/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-set-a-checkbox-with-a-dynamic-id-attribute/</feedburner:origLink></item>
		<item>
		<title>Q. How do I get to element X in frame Y?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/k_RtlDoL9f4/</link>
		<comments>http://altentee.com/watir/q-how-do-i-get-to-element-x-in-frame-y/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 10:26:32 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.frame]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=39</guid>
		<description>A. Make sure you prefix your element with the correct frame reference &amp;#8230;
Example watir:

@b.goto&amp;#40;'http://justaddwatir.com/watir/test_html/tc_0001_0100/test_0017.html'&amp;#41;
@b.frame&amp;#40;:index, 2&amp;#41;.button&amp;#40;:name, &amp;#34;submit&amp;#34;&amp;#41;.click

Note: sometimes frames aren&amp;#8217;t easily identified with id or name attributes, the example above uses the index attribute to get to the second frame in the frameset.&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/k_RtlDoL9f4" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-get-to-element-x-in-frame-y/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-get-to-element-x-in-frame-y/</feedburner:origLink></item>
		<item>
		<title>Q. How can extract information from script headers?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/NKFeu7dc27Y/</link>
		<comments>http://altentee.com/watir/q-how-can-extract-information-from-script-headers/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 08:51:57 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.getElementsByTagName]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=38</guid>
		<description>A. Use the getElementsByTagName method and iterate through results &amp;#8230;
Example html:

&amp;#60;title&amp;#62;test_0016&amp;#60;/title&amp;#62;
&amp;#60;meta name=&amp;#34;generator&amp;#34; content=&amp;#34;TextMate http://macromates.com/&amp;#34;&amp;#62;
&amp;#60;meta name=&amp;#34;author&amp;#34; content=&amp;#34;koops&amp;#34;&amp;#62;
&amp;#60;!-- Date: 2008-08-12 --&amp;#62;
&amp;#60;script type=&amp;#34;text/javascript&amp;#34;&amp;#62;var PAGE_TID =&amp;#34;cache;app05.qa.sfo1:8101;2008-08-07T18:38:30Z;0001&amp;#34;;
&amp;#60;/script&amp;#62;

Example watir:

@b.goto&amp;#40;'http://justaddwatir.com/watir/test_html/tc_0001_0100/test_0016.html'&amp;#41;
s=&amp;#91;&amp;#93; 
scripts = @b.document.body.parentElement.getElementsByTagName&amp;#40;&amp;#34;script&amp;#34;&amp;#41; 
scripts.each do &amp;#124;script_tag&amp;#124; 
  script_tag.invoke&amp;#40;&amp;#34;innerHTML&amp;#34;&amp;#41;.each do &amp;#124;script&amp;#124; 
    if script.match&amp;#40;/var PAGE_TID/&amp;#41; 
      puts script
    end 
  [...]&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/NKFeu7dc27Y" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-can-extract-information-from-script-headers/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-can-extract-information-from-script-headers/</feedburner:origLink></item>
		<item>
		<title>Q. How do I simulate a user pressing other keys?</title>
		<link>http://feedproxy.google.com/~r/Just_add_watir/~3/FnEzePhTLvs/</link>
		<comments>http://altentee.com/watir/q-how-do-i-simulate-a-user-pressing-other-keys/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 08:48:30 +0000</pubDate>
		<dc:creator>Tim Koopmans</dc:creator>
		
		<category><![CDATA[watir]]></category>

		<category><![CDATA[.send_keys]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=37</guid>
		<description>A. Use the .send_keys method &amp;#8230;
A complete list of send_keys combinations is available here.
Example watir:

@b.goto&amp;#40;&amp;#34;http://www.google.com&amp;#34;&amp;#41;
@b.text_field&amp;#40;:name, 'q'&amp;#41;.set&amp;#40;'foobar'&amp;#41;
@b.send_keys&amp;#40;&amp;#34;{TAB}&amp;#34;&amp;#41;
@b.send_keys&amp;#40;&amp;#34;{TAB}&amp;#34;&amp;#41;
@b.send_keys&amp;#40;&amp;#34;+{TAB}&amp;#34;&amp;#41;
@b.send_keys&amp;#40;&amp;#34;{SPACE}&amp;#34;&amp;#41;&lt;img src="http://feeds.feedburner.com/~r/Just_add_watir/~4/FnEzePhTLvs" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://altentee.com/watir/q-how-do-i-simulate-a-user-pressing-other-keys/feed/</wfw:commentRss>
		<feedburner:origLink>http://altentee.com/watir/q-how-do-i-simulate-a-user-pressing-other-keys/</feedburner:origLink></item>
	</channel>
</rss>
