Hi
Today we wanted to get FUNFX tests running by Maven and then it was easier to get things going with JRuby than with Ruby. We found that regular Firewatir for the moment does not support JRuby, but we found a patch by Sai Venkatakrishnan here http://rubyforge.org/pipermail/wtr-development/2008-November/000323.html
This patch worked great for us on Firewatir 1.6.2. Maybe this patch has been entered into the next release candidate, I did not check. But copy the patch into the case statement in firewatir.rb where it checks for java and you are good to go.
Works great for us.
Thanks Sai!
After installing JRuby and FunFX with the gem installer for JRuby and the same with Firewatir. Just run your scripts with jruby instead of ruby.
Monday, March 9, 2009
Subscribe to:
Post Comments (Atom)
9 comments:
Hey cool.. I am happy that you are using the patch. Let me know if you need any help.
Btw - Tried Funfx. Is really cool. Thanks
Regards,
Sai
Thanks!
It works perfectly with FunFX, so thank you!
Guys check out kapinspect in order to get the id's of components and CSS.
For more information regarding usage and demo pls refer below url's
http://lab.kapit.fr/demo/kapinspect/prod/index.html#app=d024&aea9-selectedIndex=5
http://lab.kapit.fr/display/kapinspect/Kap%20Inspect
KapInspect is just like firebug.
For Flex apps kapinpspect is good tool than flex spy.
Can anyone help me retrieve the text from the tool tip.
is there any syntax for tooltip??
Hey Peter, I have made a small change to the source code in order to reflect a change for a particular bug. I wish to commit that issue to svn. How should I go about doing it?
Aparently everyone has stopped using FunFX or they have become expert to the point that they dont need any help :-). People lets have discussions on FunFX and test automation. Lets have this forum going.
Hi peter
I am a newbie to flash and watir . I followed your instructions as per the url:http://wiki.github.com/peternic/funfx
require 'funfx'
require 'funfx/browser/firewatir'
@BROWSER = FireWatir::Firefox.new
@BROWSER.goto("localhost/FlexTest/FlexTest.html")
@flex_app = BROWSER.flex_app('FlexTest', 'FlexTest')
#@flex_app.button(:automationName => 'Buttton').click
@flex_app.button(:id => 'a3120').click
Now when i run this watir script, browser opens , but the button click (or any other actions)doesn't happen. No errors are thrown also.The id and automationName was found out using the Adobe spy that will be shown down in the FF browser.
I am using the following:
Firefox 3.5.6, JSSH 1.0 plugin, funfx-0.2.2.swc, Flex builder process (not FunFX with Maven)
Please help me . Thanks in advance
Post a Comment