I am a new user of watir,When I write testcases For a CMS system. I have read http://groups.google.com/group/watir-general/browse_thread/thread/5852900e02fea4fa, So I wrote code like this:
ie.frame("ifrmContent").frame(:index, 3).frame(:id, "WebEditorTextarea___Frame").frame(:id, "xEditingAreaFrame").document.body.focus; puts "FCKEditor Passes" ie.send_keys("Life is Good") but it is reponse is: FCKEditor Passes c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113:in `initialize': unknown OLE server: `AutoItX3.Control' (WIN32OLERuntimeError) HRESULT error code:0x800401f3 无效的类别字符串 from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/ watir/ie.rb:113:in `new' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ ie.rb:113:in `autoit' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie- class.rb:427:in `autoit' from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie- class.rb:435:in `send_keys' from login_test.rb:27 Why? I don`t understand. Someone said the watir can`t deal with iframe very well, It`s true? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---