I am trying to get back into using Funfx. I downloaded the
FlexObjectTest and I am trying to script a few tests to get a better
feel.
heres my code:
require 'funfx/browser/watir'
browser = Watir::IE.new
browser.goto("
http://10.10.10.202/test/FlexObjectTest.html")
@flex = browser.flex_app('FlexObjectTest', 'FlexObjectTest')
@flex.tree({:id => 'objectTree', :automationName =>
'objectTree', :automationIndex => 'index:1'}).open('General controls',
'1') # Copied from FlexSpy recording
When I execute this code I get
C:/Ruby/lib/ruby/site_ruby/1.8/funfx/browser/watir.rb:25:in
`method_missing': fireFunFXEvent (WIN32OLERuntimeError)
OLE error code:80020101 in <Unknown>
<No Description>
HRESULT error code:0x80020101
My Flex compiler arguements for the App are
-locale en_US --include-libraries "C:\Program Files\Adobe\Flex Builder
3\sdks\3.0.0\lib\funfx-0.2.2.swc" "C:\Program Files\Adobe\Flex Builder
3\sdks\3.0.0\frameworks\libs\automation.swc" "C:\Program Files\Adobe
\Flex Builder 3\sdks\3.0.0\frameworks\libs\automation_agent.swc" "C:
\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\libs
\automation_dmv.swc"
Any Suggestions