another quick thought before I go is to be able to put environment specific properties into a .properties file. Thus the test scripts could use different sets of data based on the environment the test is running against, be it either DEV or QA. Cause its rare to use the exact same data in 2 different environments for testing.
Dimitrios Gianninas Optimal Payments Inc. -----Original Message----- From: flexcoders@yahoogroups.com on behalf of brian.knorr Sent: Wed 2/7/2007 7:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: any interest in an alternative to QTP to automate Flex apps? I took a look at imacros...my only concern is that it uses WINCLICK to automate flash apps. This means everything is x/y coordinate based. We want to interact with the actual ui components, finding them by their properties or type. For example here is a short snippet of a simple test we are using...I added the comments in order to explain what is going on: //find the first ComboBox in the app var comboBoxOperator:ComboBoxOperator = flexOperator.find(ComboBox) as ComboBoxOperator; //select the option with the specified label //upon user selection the app fires an event that sets a label component with the text 'You selected: X' comboBoxOperator.select("MasterCard"); //find the label with the specified properties and assert the correct selection was made assertEquals("You selected: MasterCard",LabelOperator(flexOperator.find({id:"myLabel"})).text); Thoughts? --- In flexcoders@yahoogroups.com, "Allen Riddle" <[EMAIL PROTECTED]> wrote: > > I've posted on here before about this topic. I think this is something > that lacks in the Flex community. Just curious if you or your company > have looked at a product called imacros. I downloaded the demo and it > was pretty decent. It's a lot cheaper than QTP. It also lets you script > out tests. I've also wondered if it was possible to get Ruby's Watir > tool to work with Flex, that would be my first choice if so. Cool > suggestion, we'd use it. > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Simeon Bateman > Sent: Wednesday, February 07, 2007 3:56 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] any interest in an alternative to QTP to > automate Flex apps? > > > > I am interested in this. I had been playing with the thought of using > the FA Bridge to allow you to use Selenium to test your applications. > Then you could use the Firefox plugin to record our actions and test the > movie. > > Not sure how feasible it is but even that would start with having a > testing framework in flex to tie into. > > > simeon > > On 2/7/07, brian.knorr [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED] > wrote: > > > Automating functional tests is critical to the way we develop software > at my company. And there are two big things that stop us from using QTP. > > 1) It's record and playback - we want to write test scripts > 2) It costs a lot of money - we want a tool that is free and community > driven > > At my company we are writing several applications in Flex2 and are > building out an as3 library that allows us to write test scripts in > as3 to drive the Flex ui as if the user was interacting with it. If > you are familiar with the Java Swing testing tool called Jemmy, it's > very similar in design. > > Is there any interest out there for a tool like this? I am about to > create a sourceforge project, but first wanted to get a feel for the > need. > > Thanks, > > Brian > -- WARNING ------- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -------------- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
<<winmail.dat>>