Title: How is it possible to specify to look for a specific text in a specific tag?

I am fairly new to watir and think it is a great tool.

I have following code that fails to execute.

 if ie.contains_text(:id, "current" :text, "Groups")
    puts "Login Failed!: "
   else
      puts "Login Passed!"


How is it possible to specify to look for a specific text in a specific tag?

Thanks,
Bernd

_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to