Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automating QA on Flex Application [closed]

Tags:

I have a Flex Application that needs to be tested and our QA department is really adament on using some form of automated-testing tools like HP's QuickTest Pro (QTP). However, QTP requires that you write some custom code if you wish to automate some home-made components... Unfortunately, we have some 3rd-party components which we do not have the source code so we can't really the custom code without having the 3rd-party component's source code.

Is there any existing framework and/or tools that would allow me to automate testing without having to write custom code that could be used by a non-programmer (i.e. A QA guy which has no idea what a pointer is)

I've taken a quick-look at Flex-Monkey (A free open-source software) which seems to be a promising project, but it's still in it's infancy and I need something soon (i.e. Yesterday)

Any ideas?

like image 300
Claude Houle Avatar asked Feb 06 '09 19:02

Claude Houle


People also ask

What scenarios Cannot be automated?

Another scenario that you shouldn't automate through UI is two-factor authentication (or 2FA). This is where a one-time password is generated using "authenticator" mobile apps such as Google Authenticator or Microsoft Authenticator, and sent by SMS or email.

How do you automate a flex?

Step 1 : After downloading selenium flex API, Open flex project in eclipse and browse lib folder. Paste SeleniumFlexAPI. swc(This file will be in selenium flex API zip) in the folder. Step 2 : Compile the code after adding that file in lib folder.


2 Answers

I've just released a new version of the SeleniumFlex API, bringing it up to 0.2.5.

This fixes release a lot of major issue and probably makes the API the best free alternative for Flex test automation. You can get it on sourceforge here: Selenium-Flex API

EDIT Update:

The project has moved to Google Code: http://code.google.com/p/sfapi/

like image 111
Fergal Avatar answered Sep 24 '22 10:09

Fergal


Unfortunately, Flex/Flash automation just isn't very strong right now. QTP has a monopoly on the only "official" solution. Adobe needs to do more here :(

However, one automation tool is pretty interesting and completely sidesteps the traditional API mode of automation. Check out Eggplant, which uses graphical bitmaps to determine how/where/when to click on visual elements. This means your "scripts" are now text + bitmaps, but it also means it can test almost anything.

For full disclosure, I'm one of the Selenium Remote Control founders and have done a lot of work with Selenium and Flash automation in the past.

like image 38
Patrick Lightbody Avatar answered Sep 23 '22 10:09

Patrick Lightbody