Hi, *carabasu*

Please execute the code below, i have just removed form your code an extra 
*end*.
and added 

require 'watir' and replaced IE.new with Watir::IE.new because i didn't use 
include WATIR

Execute below code it will print one .. OK

require 'watir'
testSite = 'http://www.google.com'

$ie = Watir::IE.new
$ie.goto(testSite)

if $ie.text.include?("Programs") 
then puts "OK"
else puts "CRAP"
end
:)

*kind Regards*
M.Imran
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to