TJ Wilkes wrote in post #997849:
> def verify(x)
> print "Verifying ", v, "."
> ie.link(:id, x).exist?
> print "Actual Result:"
>   if ie.text.include? x
>   puts "  Test Passed. Found the test string: ", x, ".  Actual Results
> match expected Results."
>   ie.link(:href, x).click
> else
>   puts "  Test Failed!  Could not find: ", x, "."
> end
> end

Inside that method, there is no variable called 'ie'.  You either need 
to create ie inside the method, or you need to pass ie in as an 
argument, like this:

def verify(x, obj)
   obj.link(:id, x).exist?
   ...
   ...
end

-- 
Posted via http://www.ruby-forum.com/.