Flexmonkium integration with Selenium IDE

243 views
Skip to first unread message

Sivi

unread,
Aug 18, 2010, 11:41:59 AM8/18/10
to Selenium-Flex API - Support
Guys,

It is said that Flexmonkium is an add-on for Selenium IDE, by
Flexmonkey, to enable record/playback on Flex apps using Selenium. Did
anyone here give it a shot? Is tat any good?

Thanks.
Sivi.

Paul Grandjean

unread,
Aug 18, 2010, 1:23:58 PM8/18/10
to sfapi-...@googlegroups.com
I haven't tried it myself yet, but I intend to, hopefully soon.  If you try it before me I'd be interested in your experiences.  I didn't realize it was support for Sel-IDE.  That might be useful, but it must also support exporting to Sel-RC and be able to run from there for supporting continuous integration among other things.  Otherwise it's not very useful other than for beginner Sel-IDE people.  Do you know if it does that?

Paul

Sujatha Ramaswamy

unread,
Aug 19, 2010, 4:21:52 AM8/19/10
to sfapi-...@googlegroups.com
I would love to give a shot with flexmonkium paul. But, the problem for me is our flex app here is not selenium enabled yet. I am planning to give it a shot next week, against the website http://www.sonyericsson.com/cws/products/mobilephones?cc=ca&lc=en.

Will update you in case i progress further.
Thanks
Sivi

Sujatha Ramaswamy

unread,
Aug 23, 2010, 11:19:47 AM8/23/10
to sfapi-...@googlegroups.com
As an update Paul,

Yes. we are able to capture and playback Flex apps using Selenium-Flexmonkium combo. Follow exactly the instructions given under

http://www.gorillalogic.com/books/flexmonkium-docs/flexmonkey-setup

It works. Have even generated Junit code. Now the next task to cleanup the code and make it work.

Looks like a good tool till now.

Thanks
Sivi

Paul Grandjean

unread,
Aug 23, 2010, 1:59:56 PM8/23/10
to sfapi-...@googlegroups.com
Sivi,
 
Thanks for the info.  That's really helpful.  I appreciate it.  I will probably try this myself in the next few weeks.  Looking at it a little bit today already.
 
Paul

Paul Grandjean

unread,
Aug 24, 2010, 8:25:09 PM8/24/10
to sfapi-...@googlegroups.com
Sivi (or anyone else who knows),
 
I'm not able to get Sel-IDE recording Flex using FlexMonkium yet.  I'm wondering.....
 
I'm trying to run this directly against an .swf file, i.e. without loading an html file first.  Does that cause the Sel-IDE to not record?  In other words, I load the .swf file straight into FFox, open Sel-IDE and the FlexMonkium console, and then I start recording.  I can't get anthing to go into the Sel-IDE window.  But FlexMonkum shows a green connection, and when I open the Monkum verification tool, I can view the object-property list with objects loaded from the .swf.  It appears that FlexMonkium is working but Sel-IDE is not.
 
 
Any ideas?  Have you tried it this way?
 
thanks,
 
Paul

Sujatha Ramaswamy

unread,
Aug 26, 2010, 8:42:26 AM8/26/10
to sfapi-...@googlegroups.com
Paul,

I am doing almost the same as well. It is working fine.
I can list the problems which i encountered.

1. did you start selenium server with flex user extensions?
2. did you add the statement, -includes com.gorillalogic.flexmonkium.FlexMonkium, in Flex Project properties -> Flex compiler -> Additional Compiler Arguments ?

I did not get to record until i performed the above 2 steps.

Let me know for issues if any.

Sivi

Sujatha Ramaswamy

unread,
Aug 27, 2010, 8:37:52 AM8/27/10
to sfapi-...@googlegroups.com
Paul,

As a follow up, i have come to know about another add-on for Selenium IDE - Flex Pilot X.
I have not yet tried my hand on that (planning to do it sometime next week).

If possible give it a shot.

Sivi

Paul Grandjean

unread,
Aug 27, 2010, 6:34:34 PM8/27/10
to sfapi-...@googlegroups.com
Hey there,
 
Yes, I also just came across Flex Pilot and will give it a try when I get to a point that I can ask our devs to compile in the loader for me. 
 
Flex Pilot is supported by SauceLabs--this is the company created by Jason Huggins, the original designer of Selenium.  I've had some conversations with someone over there and it sounds like their approach to Flex has a lot of support with the folks at Adobe.
 
Paul

Paul Grandjean

unread,
Aug 27, 2010, 6:45:54 PM8/27/10
to sfapi-...@googlegroups.com
Hi Sivi,
 
thanks for your comments.
 
1)  No I didn't know I needed to run the Selenium Server for FlexMonkium.  I didn't think I'd need to run it because when using the Selenium IDE you don't need to run the Seleniun Server--that is only when you're using Sel-RC.  I'll do it next time I'm trying FlexMonkium.
 
2)  What is com.gorillalogic.flexmonkium.FlexMonkium?  Is that some kind of a library or something?  You're talking about when the application for testing is compiled into an swf, correct?  If so, we are building the automation_monkey.swc into the app as required by FlexMonkey.  Are you referring to something different?
 
thanks,
 
Paul

Sujatha Ramaswamy

unread,
Sep 1, 2010, 12:02:10 PM9/1/10
to sfapi-...@googlegroups.com
1. oh!! i thought you are gonna generate Junit code in Selenium and use it with RC.
2. Yes. I go with your understanding.

By the way, i am not getting how to set Flex Pilot up. Any help will be appreciated.

Sivi.

Paul Grandjean

unread,
Sep 8, 2010, 2:42:27 PM9/8/10
to sfapi-...@googlegroups.com
Hi Sivi,
 
SorryI haven't responded for a few days, I've had visitors for the past week.  I will keep responding though because we are both doing the same work and I'm sure we can help each other out a lot.
 
So, for FlexMonkium, I think we are misunderstanding eachother. Are you saying, that to use FlexMonkium with the Sel-IDE that I must be running Selenum Server?  That doesn't seem right.  Sel-IDE doesn't require Selenium Server so I thought it wouldn't be needed.
 
Yes, I do intend to export my FlexMonkuim scripts to Sel-RC, but at first, I just want to get it to work with Sel-IDE.  Sel-RC would be a separate problem.  Right?
 
Hey, this FlexMonkium stuff might be off-topic for this forum.  Possibly we should be doing this on GorillaLogic's forum and just use this forum for sfapi stuff.  Either way, feel free to contact me directly at pgra...@gmail.com.
 
thanks Sivi,  looking forward to your response,
 
Paul

hansika aneja

unread,
May 25, 2015, 5:32:56 AM5/25/15
to sfapi-...@googlegroups.com, pgra...@gmail.com
Hi Everyone,
 
Actually i want to automate flex 3.6 application using Selenium webdriver.Can you please help me?
 
Thanks
Hansika
Reply all
Reply to author
Forward
0 new messages