Tool: Watir

Hi,

I am getting error:-

 ">ruby 1.rb
1.rb:20: undefined method `should' for true:TrueClass (NoMethodError)
>Exit code: 1


Here is my Code:-
require "win32ole"
require 'watir'   # the watir controller
require 'watir/WindowHelper'
require 'test/unit'

test_site = http://yahoo.co.in

@ie = Watir::IE.new

@ie.goto(test_site)
@ie.bring_to_front
@ie.maximize

@ie.text.include?("Login ").should == true
@ie.button(:value,"Login").click
@ie.link(:id, "forgotPassword").click
@ie.text.include?("Forgot your password? ").should == true



Please help me to resolve this issue.

Thanks,

Nishant Jain

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]

Reply via email to