Hi folks,
I am new to ruby and trying to use it for website testing. For that I
have few gems which i am using. I setup ruby in both eclipse and
netbeans however the problem is, it the function is from some of the gem
intelisense failed to show that.
require ‘test/unit’
require ‘rubygems’
require ‘watir’
class DemoTest < Test::Unit::TestCase
def setup
@browser = Watir::Browser.new
@browser.goto(“http://gmail.com”)
@browser.maximize
end
on
def test_gmail
#now here if i write @browser.
it doesn’t show me method text_field which is part of watir gem.
end
end
@browser fails to show the method of watir gems, in both neatbean and
eclipse IDE, does anyone have any idea why ???