I think we got a problem with RegEx && watir 151.1054 this'll work fine
def password_field;$ie.text_field(:name, 'password');end this def password_field;$ie.text_field(:name, /password/);end rurturned on error of "test failed: \n OLE error code:0 in <Unknown>\n <No Description>\n HRESULT error code:0x80010108\n The object invoked has disconnected from its clients." ["c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1054/./watir.rb:3863:in `method_missing'", "c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1054 /./watir.rb:3863:in `doKeyPress'", " Why am I using RegEx? Cos in different environments my objects may have different prefixes or suffixes Cheers aidy --------------------------------------------------------------------------------------------------------------- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person. --------------------------------------------------------------------------------------------------------------- _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
