Thanks, that was exactly what I needed.

I ended up with:
def tverify(str, ie)
  puts "\n"
  print "Checking for text '", str, "'. "
  puts "\n"
  print "Actual Result: "
  if ie.text.include? str
    print "  Test Passed. Found the string: '", str, "'.  Valid"
    puts "\n"
  else
    print "  !ERROR! Test Failed!  Could not find: '", str, "'."
    puts "\n"
  end
end

and

def lifollow(str, ie)
  puts "\n"
  print "Verifying ", str, ".  "
  puts "Actual Result:"
  if ie.li(:id, str).exist?
    print "  Found the link: '", str, "'.  Following link."
    puts "\n"
    ie.li(:id, str).click
    sleep(1)
  else
    print "  Test Failed!  Could not find: ", str, "."
    puts "\n"
  end
end

Seems to be working perfectly.
Thanks everyone.
-TJ

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