views:

54

answers:

3

Hello all,

We have a flex based UI whose functionality (eg: login, logout) needs to be tested periodically in IE 7. Manual testing takes a lot of time and hence we want to automate it.

EDIT: We dont have the source code of this app uder test so cannot use something like FlexUnit. Is there a way to automate this testing?

I have heard of FleXmonkey, but have read negative reviews of it and hence wary of trying it.

EDIT: source of negative review: http://stackoverflow.com/questions/72462/automated-testing-of-flex-based-applications (Comment by Ryan H)

Please suggest if theres a way to go about it.

EDIT: An open-source solution is preferred.

Thank you.

+1  A: 

You won't get very far in your development adventures if you avoid reviewing things just because you read negative reviews. ( Please provide a source for said negative reviews ). I've also read bad things about Flex and Flash Builder and the Flash Player. Yet, you still ended up using Flex?

That said, I strongly suggest checking out Flex Monkey.

RIATest is another option.

I believe you can also do this sort of testing with QTP. I couldn't find a specific source for QTP info, but there are a few links if you google.

http://mercuryquicktestprofessional.blogspot.com/2007/10/does-quicktest-professional-support.html http://vishnuagrawal.blogspot.com/2009/04/flex-automation-testing-with-qtp.html

www.Flextras.com
Looks like we need the source code to get Flex Monkey working and all I have is a URL to acess the app. Thanks.
Pratyusha
You do not need the FlexMonkey source to use it.
James Ward
@James Ward Actually, it depends what you're doing. If you're doing crazy stuff w/ custom components, you'll need to write your own automation delegates for said components and compile those into FlexMonkey somehow. I was never able to get it to work for the Flextras Calendar, and eventually gave up. My memory is a bit hazy on actual issues.
www.Flextras.com
@Pratyusha You can get full access to the source for Flex Monkey. You'll need to check out of SVN yourself, though. Instructions should be on the FlexMonkey web site somewhere.
www.Flextras.com
www.Flextras.com: I meant source code of the app I need to test.
Pratyusha
If I understand, you're trying to create UI tests for an app where all you have is the compiled SWF? Why? What is your use case? Are you building a spider?
www.Flextras.com
A: 

Without recompiling the source code, it is not possible to test Flex in all cases. Saucelabs IDE claims that it can test Flex without recompiling the code. You may check that.

Rajasankar
SauceLabs seems useful. Thanks.
Pratyusha
A: 

I think FlexMonkey is pretty cool and worth judging on your own. Most of these tools use the same underlying automation framework provided by Adobe, and thus have many of the same pains and challenges. We've actually done a lot the last few months to make it easier to work with and have been working to provide more documentation on dealing with common challenges.

If you do have problem, you will find that our Forums are very active with questions and answers: http://www.gorillalogic.com/forum/7

-Jon Rose - Gorilla Logic, Inc

Thank you Jon. I understand you'd need access to source code of the app being tested, to use FlexMonkey and we don't have that. I will check it out, I can probably use it in another scenario.
Pratyusha