Thank you, I already created a new topic in FunFX group. if had some new 
info for this i will copy it to here  too.





Chuck van der Linden <[email protected]>
发件人: [email protected]


2010-12-21 03:15
请答复 给 watir-general
 
        收件人:        Watir General <[email protected]>
        抄送: 
        主题:  [wtr-general] Re: HELP: FunFX + Watir not running in 
windowsXP:OLE error code:80020101 in <Unknown>


ok so wait, Dave, that was from two years ago, saying they didn't
support IE, but were hoping to fix that bug as soon as possible..  so
does that link reflect the current state?

In any event all the errors I see there appear to be pointing into the
FunFX code, and not at any of the Watir code, so it would seem this is
really an issue to take to the FunFX group.

On Dec 20, 8:08 am, Dave McNulla <[email protected]> wrote:
> http://groups.google.com/group/funfx/browse_thread/thread/808ec990511...
> Sorry, I didn't research it more.
>
> Dave
>
> On Dec 19, 7:45 pm, [email protected] wrote:
>
>
>
> > HELP: FunFX + Watir not running in windowsXP:OLE error code:80020101 
in
> > <Unknown>
>
> > Hello everybody, sorry for my poor english.
> > I want to use the FunFX + Watir to test the Flex WEB applications in
> > Windows,
> > and the browser is IE7. But when the flex_app object call some method, 
it
> > will
> > give some error info.
>
> > My system info:
>
> > WinXP SP3
> > ruby 1.8.7
> > watir 1.6.7
> > funfx 0.2.2
>
> > my test sample is :
>
> > require 'rubygems'
> > require 'test/unit'
> > require 'funfx'
> > require 'funfx/browser/watir'
>
> > class AccordionTest < Test::Unit::TestCase
>
> >     @ie = Watir::IE.new()
>
> > @ie.goto("
http://funfx.rubyforge.org/Flex/FlexObjectTest/FlexObjectTest.html";)
> >     @flex = @ie.flex_app("FlexObjectTest","FlexObjectTest")
> >     puts @flex.methods
>
> >     tree = @flex.tree(:id=>'treeData').open(:item_renderer,"Container
> > controls")
>
> > end
>
> > run with this watir.rb:
>
> > output log:>ruby accordion_test.rb
>
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/browser/watir.rb:25 
:in
> > `method_missing': unknown property or method `fireFunFXEvent'
> > (WIN32OLERuntimeError)
> >     HRESULT error code:0x80020006
> >       未知名称。
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/browser/watir.rb:25 
:in
> > `fire_event'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/element.rb:27: 
in
> > `fire_event'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/element.rb:55: 
in
> > `flex_invoke'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/element.rb:26: 
in
> > `fire_event'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/elements.rb:10 
87:in
> > `open'
> >         from accordion_test.rb:14
> > to_yaml_style
> > before_text
> > horizontal_list
> > labels
> > set_container
> > bar_chart
> > .......
>
> > i searched in the funfx group and found a method to change the 
watir.rb to
> > test this, but
> > it give the error info :
>
> >  run with this watir.rb:
>
> > >ruby accordion_test.rb
>
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/browser/watir.rb:41 
:in
> > `method_missing': execScript (WIN32OLERuntimeError)
> >     OLE error code:80020101 in <Unknown>
> >       ��变����虹�伴��璇� 80020101 ���瀵艰�存�ら」���浣����娉�瀹����� 
EURO?
> >     HRESULT error code:0x80020009
> >       发生意外。
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/browser/watir.rb:41 
:in
> > `exec_script'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/browser/watir.rb:23 
:in
> > `fire_event'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/element.rb:27: 
in
> > `fire_event'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/element.rb:55: 
in
> > `flex_invoke'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/element.rb:26: 
in
> > `fire_event'
> >         from
> > 
C:/Ruby187/lib/ruby/gems/1.8/gems/funfx-0.2.2/lib/funfx/flex/elements.rb:10 
87:in
> > `open'
> >         from accordion_test.rb:14
> > typingspeed=
> > to_yaml_style
> > present?
> > ......
>
> > i checked the watir.rb file, and maybe this
>
> > @ole_obj.ie.Document.parentWindow.execScript(js)
>
> > execScript method not defined? someone can help me how to resolve this
> > problem?
>
> > --------------------------------------------------------
> > ZTE Information Security Notice: The information contained in this 
mail is solely property of the sender's organization. This mail 
communication is confidential. Recipients named above are obligated to 
maintain secrecy and are not permitted to disclose the contents of this 
communication to others.
> > This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
originator of the message. Any views expressed in this message are those 
of the individual sender.
> > This message has been scanned for viruses and Spam by ZTE Anti-Spam 
system.
>
> >  watir_bak.rb
> > 1KViewDownload
>
> >  watir.rb
> > 3KViewDownload- Hide quoted text -
>
> - Show quoted text -

-- 
Before posting, please read http://watir.com/support. In short: search 
before you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]





--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is 
solely property of the sender's organization. This mail communication is 
confidential. Recipients named above are obligated to maintain secrecy and are 
not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the originator of the 
message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to