I opened up a command prompt and typed in "irb".  I then typed in your lines below one at a time.

Your "goto" line has an extra space at the beginning of the line. 
That is, please remove the space after the quote in: " http://www.google.com/"

The rest of the lines worked as expected for me when I removed this extra space.

Hope that helps.  Paul.


On 14/03/06, Marcus Tettmar <[EMAIL PROTECTED]> wrote:

[snip]

Full script:

  require 'watir' 
  include Watir
 
  $IE0 = IE.new
  $IE0.goto(" http://www.google.com/")
  $IE0.form( :name, "f").text_field( :name, "q").set("ruby")
  $IE0.form( :name, "f").button( :name, "btnG").click

Cheers,
Marcus

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to