hi,
thanks for your reply. I have used your code but after using it also i got an
error " c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__': No such file to load -- /apps/ruby/lib/ruby/1.8/test/unit
(LoadError)".
When I modified your code as the following
require 'watir'
include Watir
require 'watir/assertions.rb'
@ie = IE.new
@ie.goto("http://www.google.com")
assert(@ie.link(:text, "Make Google Your Homepage!").exists?)
@ie.link(:text, "Make Google Your Homepage!").click
and executed it, the following error occured:
undefined method `assert' for #<Object:0x27b9258> (NoMethodError)
I am using the editor which is given by ruby SCiTE.No i have not executed any
of the unit tests
thank you,
maloy
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6352&messageID=18051#18051
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general