Hi,

I need help regarding this issue with FireWatir. This is just a simple
program but I always receive this error:

C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
element.rb:907:in `assert_exists': Unable to locate element, using
{:text=>"Google Groups"} (Watir::Exception::UnknownObjectException)
        from C:/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/
element.rb:1066:in `click'
        from Demo_Firefox.rb:9

See my code below:

require 'rubygems'
require 'firewatir'

$Browser = FireWatir::Firefox.new
$Browser.goto 'http://www.google.com.ph'

$Browser.text_field(:name => 'q', :title => 'Google Search').set
'Google Groups'
$Browser.button(:name => 'btnG', :type => 'submit').click
$Browser.link(:text => 'Google Groups').click

Thanks,
Logic Bomb

-- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general

Reply via email to