As anyone looked into this?  It is still and issue for me.

Thanks,
--Trampus


On 2/11/11 4:11 PM, "Trampus Richmond" <trichm...@sugarcrm.com> wrote:

The following code works fine with FireFox, IE8, but not with IE9RC.  The code 
finds the button control as it never throws an exception, but the button is 
never clicked.

require 'rubygems'
require 'watir'

   Watir::Browser.default = "ie"
   b = Watir::Browser.new()
   b.goto("http://www.twistedminds.org/sugarcrm";)
   b.text_field(:id, "user_name").set("guest")
   b.text_field(:id, "user_password").set("guest")
   sleep(2)
   print "Clicking...\n"
   b.button(:id, "login_button").click()
   print "Finished clicking.\n"
   print "Sleeping...\n"
   sleep(6)
   print "Done...\n"

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to