From: Ban Hoang Date: 2006-09-12T03:02:08+09:00 Subject: how to click the Buttons in Forms Hi , I try to write the code to click the button in form but it keep give me errors. Any one have any idea how to make it work? Thanks! ---- Below is the code: $ie.frame("bottom").button(:value, ":: Login >").click ------ HTMl source: ( this is frame_bottom)
   
This is the error I got: 1) Error: test_01_LoginTestCase(TC_pulldownBox_Links_Clicks): Watir::Exception::UnknownObjectException: Unable to locate object, using value and :: Login > c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in `assert_exists' c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2009:in `click' Login_test1.rb:25:in `test_01_LoginTestCase' 1 tests, 0 assertions, 0 failures, 1 errors >Exit code: 1