I'm taking the liberty to move this conversation to the list. I'll do a quick translation:
------8<------
Subject: Cucumber/FunFX questions
Hi guys,
The hackfest last night was great. Cucumber + FunFX seems like a great combo.
I'm trying to run with FF, but no errors are shown. Nothing happens in the browser. I have installed JSSh 0.9. Still no action in the browser ant the funny part is that Cucumber says everything is a-ok, despite the fact that I have deliberately added erros in my Cucumber code.
If I run in IE, I get the following error. Have you seen it? Am I missing something?
(stacktrace)
------8<------
Yep it was fun. We identified a number of pain points that we need to fix. It's still too hard to get started with FunFX. We'll fix it!
Regarding FF+Cucumber - are you getting any output at all? What command are you running and what plain text steps and ruby step definitions do you have? Please send some code/info so we can try to reproduce it.
Regarding IE and "unknown property or method `fireFunFXEvent'"
This sounds like your Flex wasn't built with the FunFX.swc and the 3 automation swc files from Adobe. If you had, the fireFunFXEvent function (which is a js function exposed by FunFX' Proxy.as class) would have been available to the browser, watir and funfx on the ruby side. Please verify that.
There is a known bug with IE, so even if you build your Flex right it won't work. But you'll find another error. Stick to FF for the time being (or Safari).
Please report bugs here: http://bekkopen.lighthouseapp.com/projects/20367-funfx/
Cheers,
Aslak
________________________________________
From: Espen Dalløkken [leftie...@gmail.com]
Sent: Wednesday, November 26, 2008 8:44 PM
To: Aslak Hellesøy; Peter Motzfeldt
Cc: Christian Mosveen
Subject: Cucumber/FunFX spørsmål
Hallå boys,
det var en ekstremt inspirerende sesjon igår og FunFX kombinert med Cucumber virker som en utrolig spennende kombinasjon som garanert vil bli godt mottatt.
Jeg har fått testene du aslak og christian laget igår...
Jeg forsøker å bruke Firefox så får jeg ingen feil...men jeg ser ikke at noe skjer i nettleseren. Jeg har installert Firefox plugin'en JSSh 0.9, så jeg skal ha det som trengs. Likevel skjer det ikke noe i nettleseren, men det pussige er at cucumber testene sier at alt er fint. Tiltross for at jeg har lagt inn feil i testkoden.
Hvis jeg bytter til IE får jeg følgende feil, har dere sett denne før? det virker som det er noe jeg mangler...
Scenario: Log in # login.feature:4
Given I am on the login page # step_definitions/login_steps.rb:1
And I fill in username bob # step_definitions/login_steps.rb:4
unknown property or method `fireFunFXEvent'
HRESULT error code:0x80020006
Unknown name. (WIN32OLERuntimeError)
c:/dev/ruby/lib/ruby/gems/1.8/gems/funfx-0.2.0/lib/funfx/browser/watir.rb:24:in `method_missing'
c:/dev/ruby/lib/ruby/gems/1.8/gems/funfx-0.2.0/lib/funfx/browser/watir.rb:24:in `fire_event'
c:/dev/ruby/lib/ruby/gems/1.8/gems/funfx-0.2.0/lib/funfx/flex/element.rb:27:in `fire_event'
c:/dev/ruby/lib/ruby/gems/1.8/gems/funfx-0.2.0/lib/funfx/flex/element.rb:55:in `flex_invoke'
c:/dev/ruby/lib/ruby/gems/1.8/gems/funfx-0.2.0/lib/funfx/flex/element.rb:26:in `fire_event'
c:/dev/ruby/lib/ruby/gems/1.8/gems/funfx-0.2.0/lib/funfx/flex/elements.rb:836:in `input'
./step_definitions/login_steps.rb:6:in `And "I fill in username bob"'
login.feature:6:in `And I fill in username bob'
And I fill in password bob # step_definitions/login_steps.rb:9
When I click the Login button # step_definitions/login_steps.rb:14
Then I should see the front page # step_definitions/login_steps.rb:18
Sorry for cutting in, I have a question on this one: "This sounds like
your Flex wasn't built with the FunFX.swc and the 3 automation swcWhat 3 automation swc files from Adobe? I thought there were two:
files from Adobe."
automation.swc and automation_agent.swc. Plus there is new FunFX.swc,
of course.