From keithshaw26 at gmail.com Mon Jun 2 15:25:15 2008 From: keithshaw26 at gmail.com (keith shaw) Date: Mon, 2 Jun 2008 15:25:15 -0400 Subject: [Funfx-user] Testing Modules within a Flex Application Message-ID: Hello Again FunFX users, I have been making some great progress thus far using FunFX as an Automation Framework. My question is whether it is possible to access modules embedded inside a flex application. I have tried using the set_flex_object method to reference the module swf and that did not work. If anyone has successfully tested modules within funfx please let me know how you accomplished this. I also wanted to point out something that I have discovered while trying to automate an already built flex application. The flex app I am currently trying to automate contains a number of buttons throughout that contain the same id. In order to get around this without changing the id's of these buttons you can add another tag named automationName to an object in order to make it unique. Here is a quick example of this; buttonMode="true" automationName="UNIQUENAME.nextLinkButton"/> In the example above there is a button with the id of nextLinkButton that is used throughout the entire application. By adding the automationName tag at the end I was able to create a unique name for the object without affecting any other parts of the application. Hope this helps someone out there. Thanks, Keith -- Keith Shaw KeithShaw26 at gmail.com (919) 656-3164 -------------- next part -------------- An HTML attachment was scrubbed... URL: From babu_gs at yahoo.com Sat Jun 7 05:25:36 2008 From: babu_gs at yahoo.com (Babu G) Date: Sat, 7 Jun 2008 02:25:36 -0700 (PDT) Subject: [Funfx-user] Help with tetsing FDS project using FunFX Message-ID: <17548.18372.qm@web38504.mail.mud.yahoo.com> Hi, Our application is built using the Flex data services(FDS) project . The application is packaged in a WAR format. it contains FLEX coponents in presentation layer, POJO classes in business layer and Hibernate in persistence layer. We have added the "id" tag to identify all flex objects in mxml file. The first mxl that loads is mainpage.mxml and all remaining pages are loaded within the mainpage.mxml. We are using fles shared object for passing data between the mxmls.We are at present able to test a sinle MXML file using FunFX. But when we want to navigate across multiple pages that pass dynamic data between them we are unable to proceed. For a scenario like login--view first mxml --view second mxml --logout we are able to test upto login and first mxml page. The second mxml page gets loaded within first page. When try to test someting like "buttonclick" FunFX reports that the method associated is not found. As remaining pages rae loaded within first page ( mainpage.mxml) funFX sees only the methods available in mainpage.mxml. Any second page loaded is not getting recognised by FunFX. Request your help in resolving the issue. regards Babu From Peter.Motzfeldt at BEKK.no Tue Jun 10 08:31:16 2008 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Tue, 10 Jun 2008 14:31:16 +0200 Subject: [Funfx-user] Help with tetsing FDS project using FunFX In-Reply-To: <17548.18372.qm@web38504.mail.mud.yahoo.com> References: <17548.18372.qm@web38504.mail.mud.yahoo.com> Message-ID: An HTML attachment was scrubbed... URL: From keithshaw26 at gmail.com Tue Jun 10 16:18:32 2008 From: keithshaw26 at gmail.com (keith shaw) Date: Tue, 10 Jun 2008 16:18:32 -0400 Subject: [Funfx-user] Uploading Files Message-ID: Part of the flex application I am currently trying to automate contains a functionality where users can upload their own images. I can automate funfx to to point where the user needs to select the files that they would like to upload. This is done with the classic browser window used by Internet Explorer. Does anyone know if it is possible to use watir along with funfx in order to designate files that are to be uploaded. Thanks, Keith Shaw -- Keith Shaw KeithShaw26 at gmail.com (919) 656-3164 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Motzfeldt at BEKK.no Wed Jun 11 03:26:02 2008 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Wed, 11 Jun 2008 09:26:02 +0200 Subject: [Funfx-user] Uploading Files In-Reply-To: References: Message-ID: An HTML attachment was scrubbed... URL: From robert.koertge at gmail.com Fri Jun 13 19:16:02 2008 From: robert.koertge at gmail.com (Robert Koertge) Date: Fri, 13 Jun 2008 19:16:02 -0400 Subject: [Funfx-user] Uploading Files In-Reply-To: References: Message-ID: http://wiki.openqa.org/display/WTR/File+Uploads On Wed, Jun 11, 2008 at 3:26 AM, wrote: > Hi Keith > > I tried to get this to work, but it seems that Watir expects that the > is defined in the html page, and is not able to > access the actual pop up window. Since Flex creates the file dialog the > file_field option of Watir does not find any file_fields. > > But if someone has more experience with Watir, and know if it is possible > to access the actual pop up, please let me know. > > But it should be possible to access the dialog from the DOM through > WIN32OLE or RUBYOSA, I will look into this. > > - Peter > > B | peter nicolai motzfeldt, consultant > E | +47 982 19 411, peter.motzfeldt at bekk.no > K | bekk consulting as, pb. 134 sentrum, 0102 oslo, norway > K | www.bekk.no > > > -----funfx-user-bounces at rubyforge.org wrote: ----- > > To: funfx-user at rubyforge.org > From: "keith shaw" > Sent by: funfx-user-bounces at rubyforge.org > Date: 10.06.2008 22:18 > Subject: [Funfx-user] Uploading Files > > > Part of the flex application I am currently trying to automate contains a > functionality where users can upload their own images. I can automate funfx > to to point where the user needs to select the files that they would like to > upload. This is done with the classic browser window used by Internet > Explorer. Does anyone know if it is possible to use watir along with funfx > in order to designate files that are to be uploaded. > > Thanks, > Keith Shaw > > -- > Keith Shaw > KeithShaw26 at gmail.com > (919) 656-3164 _______________________________________________ > Funfx-user mailing list > Funfx-user at rubyforge.org > http://rubyforge.org/mailman/listinfo/funfx-user > > > > _______________________________________________ > Funfx-user mailing list > Funfx-user at rubyforge.org > http://rubyforge.org/mailman/listinfo/funfx-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From keithshaw26 at gmail.com Fri Jun 13 21:29:34 2008 From: keithshaw26 at gmail.com (keith shaw) Date: Fri, 13 Jun 2008 21:29:34 -0400 Subject: [Funfx-user] Uploading Files In-Reply-To: References: Message-ID: Hey Robert, Thanks for the link, however I have already tried to handle the upload using the method you described. The problem is that the file browser is launched from the flex application and is not from the web page. This makes it difficult for watir to attach to the browser and then upload the specific files. If you have been able to upload files to a flex application please let me know with more detail how you accomplished it. Thanks again, Keith Shaw On Fri, Jun 13, 2008 at 7:16 PM, Robert Koertge wrote: > http://wiki.openqa.org/display/WTR/File+Uploads > > > On Wed, Jun 11, 2008 at 3:26 AM, wrote: > >> Hi Keith >> >> I tried to get this to work, but it seems that Watir expects that the >> is defined in the html page, and is not able to >> access the actual pop up window. Since Flex creates the file dialog the >> file_field option of Watir does not find any file_fields. >> >> But if someone has more experience with Watir, and know if it is possible >> to access the actual pop up, please let me know. >> >> But it should be possible to access the dialog from the DOM through >> WIN32OLE or RUBYOSA, I will look into this. >> >> - Peter >> >> B | peter nicolai motzfeldt, consultant >> E | +47 982 19 411, peter.motzfeldt at bekk.no >> K | bekk consulting as, pb. 134 sentrum, 0102 oslo, norway >> K | www.bekk.no >> >> >> -----funfx-user-bounces at rubyforge.org wrote: ----- >> >> To: funfx-user at rubyforge.org >> From: "keith shaw" >> Sent by: funfx-user-bounces at rubyforge.org >> Date: 10.06.2008 22:18 >> Subject: [Funfx-user] Uploading Files >> >> >> Part of the flex application I am currently trying to automate contains a >> functionality where users can upload their own images. I can automate funfx >> to to point where the user needs to select the files that they would like to >> upload. This is done with the classic browser window used by Internet >> Explorer. Does anyone know if it is possible to use watir along with funfx >> in order to designate files that are to be uploaded. >> >> Thanks, >> Keith Shaw >> >> -- >> Keith Shaw >> KeithShaw26 at gmail.com >> (919) 656-3164 _______________________________________________ >> Funfx-user mailing list >> Funfx-user at rubyforge.org >> http://rubyforge.org/mailman/listinfo/funfx-user >> >> >> >> _______________________________________________ >> Funfx-user mailing list >> Funfx-user at rubyforge.org >> http://rubyforge.org/mailman/listinfo/funfx-user >> >> > > _______________________________________________ > Funfx-user mailing list > Funfx-user at rubyforge.org > http://rubyforge.org/mailman/listinfo/funfx-user > > -- Keith Shaw KeithShaw26 at gmail.com (919) 656-3164 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Motzfeldt at BEKK.no Fri Jun 20 07:09:06 2008 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Fri, 20 Jun 2008 13:09:06 +0200 Subject: [Funfx-user] Flex application with modules Message-ID: An HTML attachment was scrubbed... URL: From keithshaw26 at gmail.com Fri Jun 20 09:55:01 2008 From: keithshaw26 at gmail.com (keith shaw) Date: Fri, 20 Jun 2008 09:55:01 -0400 Subject: [Funfx-user] Flex application with modules In-Reply-To: References: Message-ID: Peter, The application I am using contain two separate modules. FunFX works fine with both modules I just need to make sure to include the proper swc files when I compile. The only suggestion I could make is to add an automationName to each of the text boxes. Make sure that the automationName is unique from any other object in the entire project. Other than that I'm not sure what could be causing this problem. -Keith On Fri, Jun 20, 2008 at 7:09 AM, wrote: > Hi > > I am now using FunFX on a new project that uses modules, and I am > experience some difficults with the automation.swc and the > automation_agent.swc files. > > When I add these files to the compiler options as normal when using FunFX, > the applications loaded as Modules work very well. But the components added > to the main mxml file of the Flex project that adds these modules locks all > other objects added to it but the first one. > > To explain in more detail, for instance if the mxml file is a vbox and it > adds a component that is also a vbox and contains three textinputs, I am > only able to input text in the first textinput. > > I cannot understand why this is happening. Do anyone have any idea? (I have > not included the FunFX.swc so it is not the problem) > > Thanks for any advice. > > B | peter nicolai motzfeldt, consultant > E | +47 982 19 411, peter.motzfeldt at bekk.no > K | bekk consulting as, pb. 134 sentrum, 0102 oslo, norway > K | www.bekk.no > > _______________________________________________ > Funfx-user mailing list > Funfx-user at rubyforge.org > http://rubyforge.org/mailman/listinfo/funfx-user > > -- Keith Shaw KeithShaw26 at gmail.com (919) 656-3164 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Motzfeldt at BEKK.no Mon Jun 23 09:12:10 2008 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Mon, 23 Jun 2008 15:12:10 +0200 Subject: [Funfx-user] Flex application with modules In-Reply-To: References: , Message-ID: An HTML attachment was scrubbed... URL: