Monday, March 9, 2009

FunFX and Firewatir on JRuby

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.

45 comments:

Sai Venkatakrishnan said...

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

Peter Motzfeldt said...

Thanks!

It works perfectly with FunFX, so thank you!

kalyan kk said...

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

kalyan kk said...

KapInspect is just like firebug.
For Flex apps kapinpspect is good tool than flex spy.

kalyan kk said...

Can anyone help me retrieve the text from the tool tip.

is there any syntax for tooltip??

Intekhab Sadekin - Toolsmith said...

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?

hongaviles said...

how do u do that..................................................

Intekhab Sadekin - Toolsmith said...

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.

XeandeR said...
This comment has been removed by the author.
XeandeR said...

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

念強 said...

徐可寫真yam交友080中部人聊天室免費成人電影聊天室080正妹牆正妹論壇正妹影片成人 影片sex日本愛情影片日本卡通a片下載日本同志男優日本同志色教館 avdvd 日本同志色教館 g8yy日本同志卡通影片交流區日本同志漫畫日本圖片網站日本地圖日本夜店影片視訊 辣妹視訊 辣妹免費影片分享免費聊天66k日本a電影免費18 成人girl5320微風成人情色 網6k聊天館aio 交友愛情館免費上班族聊天室免費性影片666成人光金瓶影片交流區美眉泰正點麗的情色遊戲麗的情色小遊戲亞亞成人館曼雪兒免費情色文學曼雪兒免費情色小說曼雪兒免費色曼雪兒免費色倩小說曼雪兒免費色小說

夏文宏 said...

脾氣與嘴巴不好,就算心地再好,也不算好人~~~ ....................................................

婉婷 said...

TAHNKS FOR YOUR SHARING~~~VERY NICE.................................................

YoungW21087 said...

Nice Post~!!!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

冠伶 said...

乳交挑逗淫婦色情俱樂部成人色情成人影片視訊網愛聊天室免費色情網情色區火辣美女情色性愛成人影音聊天成人色情網站全裸美女圖片成人裸照sex辣妹裸體美女全裸圖成人區av女情色內容情色自拍貼圖成人色情網性愛論壇一對多性伴侶成人聊天室撫摸淫美成人論壇女人奶頭女生自慰影片台灣女優美女視訊一絲不掛一夜正妹成人影像巨乳大奶子情色性愛貼圖情色王國做愛視訊火辣情色台灣情色網情色聊天網性愛技巧淫娃情色成人巨乳辣妹性愛知識性經驗

80808waldod_brogden said...

happy to read~ thank you!........................................

彥宏志宏 said...

Cast not the first stone. ........................................

佳蓉 said...

78論壇 A片,成人影片分享 080視訊聊天室 666成人 視訊交友網 xvideo免費影片 視訊美女ws888 6k聊天室辣妹視訊 A片-免費視訊 視訊美女mybank sex888影音視訊聊天室 影音情人趣味 85cc免費影片 視訊激麻館 禁地論壇成人 情色視訊 成人影片情色網 bt成人論壇 18成人avooo 玩美女人試看片 hilive tv視訊妹 免費聊天firework av999免費影片 avdvd無碼影片成人情色 一葉晴貼影片av127 520聊天室 一夜情視訊聊天室 視訊聊天室交友 免費視訊辣妹avdvd一夜情 1元視訊 網愛聊天 250av女優免費影片 免費影音視訊fm358 sex女優王國情色 嘟嘟情人色網 dvd 台灣18網 視訊交友雙贏論壇 色a金激麻館 性愛故事性愛文學 凹凸情欲網 成人視訊happylife 視訊聊天交友mm358 免費視訊辣妹sex女優王國 情色香港論壇 亞洲情色貼圖區 日本 a 片自拍偷拍網站情色小說 免費avi影片下載 台灣情色視訊網 17358 視訊聊天室 日本a片免費下載 情色影片免費觀賞you tube影片下載

柏勳 said...

呵。。。。好可愛~~..................................................

07_TeddyF_Silvey0 said...

Many a little makes a mickle............................................................................

啟佐 said...

女傭調教 女生自衛 夫妻交換 大腿內側 夜未眠成 嘟嘟情人 嘟嘟圖片 同志色教 吉澤明步 台中夜店 台北夜店 台灣同志 台灣ki 出包王女 凹凸電影 凌虐俠女 免費女同 免費女傭 免費圖片 免費同志 免費動畫 免費黃色 免費貼影 免費色片 免費dv 免費線上 -qq美美 jp素人 h文小說 辣媽寫真 辣媽哺乳 黃色珍藏 麗的線上 貼圖片區 高雄夜店 視訊kk 西洋美女 電影線上 阿賓小說 阿賓色慾 蓬萊仙山 色片直播 美女自衛 美國色片 美美色網 線上收看 線上動畫 素人寫真 素人大全 短片線上

禎峰 said...

Where did you purchase this product?.............................................................

洪筱婷 said...

很用心的部落格 祝你人氣百分百 期待您的新文章.................................................................

vickiekurt said...

死亡是悲哀的,但活得不快樂更悲哀。......................................................................

asdas said...

人不能像動物一樣活著,而應該追求知識和美德....................................................................

婷珊 said...

人不能像動物一樣活著,而應該追求知識和美德............................................................

李李淑博淑林嘉宏真 said...

Hello~Nice meet you~~............................................................

姵潔姵 said...

如果相遇.你會感到相知.那麼.有一種習慣叫做陪伴;如果陪伴.你會感到珍惜.那麼.有一種甜蜜叫做存在!..................................................................

姵潔姵 said...

Of two evils choose the least.............................................................

dawsonfelicia張君dawsonfelicia均 said...

HELLO~幫你推個文^^..................................................................

吳婷婷 said...

脾氣與嘴巴不好,就算心地再好,也不算好人~~~..................................................

莊雅和莊雅和莊雅和 said...

獨居時,要反省自己的過錯;在社會大眾之間,則要忘卻別人的過失。..................................................

陳芳 said...

堅持是為著某種目的或目標,而持續不斷朝向既定方向努力的一種意念。..................................................

潘凱花潘凱花 said...

與人相處不妨多用眼睛說話,多用嘴巴思考. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

魏江伶魏江伶 said...

出遊不拘名勝,有景就是好的..................................................................

楊儀卉 said...

知識可以傳授,智慧卻不行。每個人必須成為他自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

佳瑩佳瑩 said...

開懷幸福的生活,是每個人的夢想~~希望大家都能夠實現!...............................................................

群育航學 said...

當最困難的時候,也就是離成功不遠的時候。..................................................

姜鴻林奕宏琬 said...

好的開始並不代表會成功,壞的開始並不代表是失敗............................................................

偉曹琬 said...

人不能像動物一樣活著,而應該追求知識和美德............................................................

麗王王珠 said...

來給你加油打氣!!!保重!!!............................................................

峻胡邦慧v帆 said...

來看你了~心在、愛在、牽掛在,幸福才會繁衍不息^^...............................................................

玉韓韓韓婷韓韓韓韓 said...

人應該做自己認為對的事,而不是一味跟著群眾的建議走。..................................................

佳張張張張燕張張張張張 said...

愛情不是慈善事業,不能隨便施捨。......................................................................

洪涛 said...

看著你的BLOG 好多朋友都回應 真厲害..................................................