Type below command in RUN and click on OK. Windows Start>>Run
regsvr32 "C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir\AutoItX3.dll" Check yours dll path and update in command text. It will show message box, “DllresigterServer in path succeeded.” Best Regards, Kiran Darekar From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Cai Licheng Sent: Friday, April 10, 2009 1:12 PM To: watir-general@googlegroups.com Subject: [wtr-general] Re: How to Input Content to FCK textarea Sorry! I don`t good at Ruby, How to resister dll "AutoltX3.dll"? Can you give me more detail , thanks! 2009/4/10 KiranD <kir...@sikkasoft.com> Hi, Resister dll "AutoItX3.dll" Dll location: "C:\ruby\lib\ruby\gems\1.8\gems\watir-1.6.2\lib\watir" It will be work fine Regards, ________________________________ Kiran Darekar NOTICE: This email message, including any attachments, may contain information that is confidential and/or proprietary. If you are not an intended recipient, please be advised that any review, use, reproduction or distribution of this message is prohibited. If you have received this message in error, please completely destroy all electronic and hard copies, and contact the sender at or kir...@sikkasoft.com. ________________________________ -----Original Message----- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of LichengCai Sent: Friday, April 10, 2009 8:16 AM To: Watir General Subject: [wtr-general] How to Input Content to FCK textarea 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/5852900e02 <http://groups.google.com/group/watir-general/browse_thread/thread/5852900e0 2fea4fa> fea4fa, 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 -~----------~----~----~----~------~----~------~--~---