This is a reset button. In the current release you need to do Ie.reset(:value , 'Cancel').flash
In the next release, the code you are using will work as we have combined reset objects in with button Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Sent: 03 August 2005 19:52 To: [email protected] Subject: [Wtr-general] Cannot Identify "Cancel" Hi, I got an error when identifying all the "Cancel" button on a test web page, any advice? Thanks. reset name=reset id= value=Cancel alt= src= irb(main):034:0> ie.button(:value,"Cancel").flash Watir::Exception::UnknownObjectException: Unable to locate object, using value and Cancel from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1979:in `object_exist_check' from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:2106:in `flash' from (irb):34 from (null):0 Regards, Fred Chan Send instant messages to your online friends http://asia.messenger.yahoo.com _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
