Hi, <br><br>&nbsp; Please edit responses to refer to the original header and not the digest header. I missed the fact that the src attribute is pointing to textarea, it&#39;s not a text control. Try using IE developer toolbar to find the control and some sort of identifiable attribute - name, id, index. Then use that to set it in Watir. 
<br><br><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=E59C3964-672D-4511-BB3E-2D5E1DB91038">http://www.microsoft.com/downloads/details.aspx?FamilyID=E59C3964-672D-4511-BB3E-2D5E1DB91038</a><br><br>-Charley
<br><br><div><span class="gmail_quote">On 5/3/07, <b class="gmail_sendername">Imran Hussain</b> &lt;<a href="mailto:imran_x@hotmail.com">imran_x@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>Hi Charley,<br>
&nbsp;<br>
Thanks for the info but it still doesn&#39;t work, I now get the following error:<br>
&nbsp;<br>
c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:3388:in `method_missing&#39;: focus (WIN32OL<br>ERuntimeError)<br>&nbsp;&nbsp;&nbsp; OLE error code:800A083E in htmlfile<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Can&#39;t move focus to the control because it is invisible, not enabled, or o
<br>f a type that does not accept the focus.<br>&nbsp;&nbsp;&nbsp; HRESULT error code:0x80020009<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exception occurred.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:338<br>8:in `set&#39;<br><br>&nbsp;<br>Thanks,<br>
Imran<br><br></div></blockquote></div><br>