From wirelesspark at gmail.com Fri Nov 16 11:56:29 2007 From: wirelesspark at gmail.com (Red Park) Date: Fri, 16 Nov 2007 08:56:29 -0800 Subject: [Funfx-developer] missing file: automation_agent_rb.swc Message-ID: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com> According to section b.3 of 'http://funfx.rubyforge.org/guide/user-guide.pdf' you need to copy 'automation_agent_rb.swc' under a folder named 'local' of Flex SDK folder. But the downloaded zip only contains the following 3 files. AutomationGenericEnv.xml FunFX-0.0.1.gem FunFXAdapter.swc Where can I get this automation_agent_rb.swc? Thousand Thanks, /clueless -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/funfx-developer/attachments/20071116/ea6c90aa/attachment.html From Peter.Motzfeldt at BEKK.no Sat Nov 17 04:35:06 2007 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Sat, 17 Nov 2007 10:35:06 +0100 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com> References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com> Message-ID: An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/funfx-developer/attachments/20071117/f4cc4205/attachment.html From Peter.Motzfeldt at BEKK.no Sun Nov 18 06:40:35 2007 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Sun, 18 Nov 2007 12:40:35 +0100 Subject: [Funfx-developer] FunFX version 0.0.2 released Message-ID: An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/funfx-developer/attachments/20071118/379dd5df/attachment.html From manish at gslab.com Wed Nov 21 08:21:13 2007 From: manish at gslab.com (Manish Sapariya) Date: Wed, 21 Nov 2007 18:51:13 +0530 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com> Message-ID: <474430C9.7020204@gslab.com> Hi, I could not find the auomation*.swc files in SDK 3. I have flex3sdk_b2_100107. Did I miss something obvious? Thanks, Manish Peter.Motzfeldt at BEKK.no wrote: > Hi > > I am sorry about the user guide, I have heard that it is missing som > information and has a coule of wrong tips. But I will change that today. > > But over to your problem. > > The reason why that file is not in the zip file is because in Flex 2 > that file comes with the automation package which you need to purchase. > > But with the new Flex 3, this file and the automation_agent.swc file > that you will also need is included in the SDK. > > So I would recommend you to download the Flex 3 Beta SDK and get the > files from there. You might then end up with a situatio where the > adapter file is compiled with the wrong SDK. This is solved by > building the adapter with that SDK. I hope that is not to much problem > for you. > > I have enabled anonymous access to the svn, but have not been able to > do a checkout anonymously. But you can get the sourcecode and just > compile it. > > Just remember that the FunFX is still early, but I will use this > weekend to to it better. Any pointers on whats not working or working, > I would appreciate it if you would post it on the mailing list. > > I will also set up a simple blog that will go throuhg the steps on how > to get it to work. > > Let me know if you run in to any problems. > > - 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 > > *** Confidentiality Notice *** > The content of this e-mail is intended only for the confidential use > of the person(s) to whom it is addressed. If the reader of this > message is not such a person, you are hereby notified that you have > received this communication in error and that reading it, copying it, > or in any way disseminating its content to any other person, is > strictly prohibited. If you have received this message in error, > please notify Bekk Consulting AS immediately and delete the material > from any computer. > > -----funfx-developer-bounces at rubyforge.org wrote: ----- > > >To: "funfx-developer at rubyforge.org" > >From: "Red Park" > >Sent by: funfx-developer-bounces at rubyforge.org > >Date: 16.11.2007 17:56 > >Subject: [Funfx-developer] missing file: automation_agent_rb.swc > > > >According to section b.3 of ' > >http://funfx.rubyforge.org/guide/user-guide.pdf > >' you need to copy 'automation_agent_rb.swc' under a folder named > >'local' of Flex SDK folder. > > > > > >But the downloaded zip only contains the following 3 files. > > > >AutomationGenericEnv.xml > > > >FunFX-0.0.1.gem > > > >FunFXAdapter.swc > > > > > >Where can I get this automation_agent_rb.swc? > > > > > >Thousand Thanks, > > > >/clueless > > > > > >_______________________________________________ > >Funfx-developer mailing list > >Funfx-developer at rubyforge.org > >http://rubyforge.org/mailman/listinfo/funfx-developer > > -- > This message has been scanned for viruses and > dangerous content by *MailScanner* , and is > believed to be clean. > ------------------------------------------------------------------------ > > _______________________________________________ > Funfx-developer mailing list > Funfx-developer at rubyforge.org > http://rubyforge.org/mailman/listinfo/funfx-developer > From Peter.Motzfeldt at BEKK.no Wed Nov 21 09:08:06 2007 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Wed, 21 Nov 2007 15:08:06 +0100 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: <474430C9.7020204@gslab.com> References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com>, <474430C9.7020204@gslab.com> Message-ID: An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/funfx-developer/attachments/20071121/b232ec76/attachment-0001.html From manish at gslab.com Thu Nov 22 03:55:17 2007 From: manish at gslab.com (Manish Sapariya) Date: Thu, 22 Nov 2007 14:25:17 +0530 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com>, <474430C9.7020204@gslab.com> Message-ID: <474543F5.8030603@gslab.com> Hi Peter, Thanks for the help and the wonderful tool. I faced following problem but I could go ahead. 1. When I ran my test first time, I got this error. Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: file://D:/Me/Work/GStaf/Eclipse/FirstFlexApp/bin/AutomationGenericEnv.xml at src.main::FunFX/setTestingEnvironment()[D:\Documents and Settings\Peter Motzfeldt\Eclipse-workspace\FunFXAdapter\src\main\FunFX.as:125] at src.main::FunFX/applicationCompleteHandler()[D:\Documents and Settings\Peter Motzfeldt\Eclipse-workspace\FunFXAdapter\src\main\FunFX.as:111] When I copied the AutomationGeneric.xml to bin directory everything started working fine. 2. Sometimes test fails with following error. The test passes always when I run ie in visible mode. Looks like some synchronization issue. =============== Loaded suite control_test Started E Finished in 32.359 seconds. 1) Error: test_work_group(WorkGroupTest): RuntimeError: No such itemRenderer on the object C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.2/lib/xml_parser.rb:154:in `select' control_test.rb:32:in `test_work_group' 1 tests, 0 assertions, 0 failures, 1 errors ======================== Thanks and Regards, Manish Peter.Motzfeldt at BEKK.no wrote: > That is strange. I just downloaded the Flex 3 SDK beta 2, and the > files are not in this ZIP file. > > I have always downloaded the Flex Builder plugin for Eclipse and with > the Flex 3 Builder plugin beta 2, the files are included in the SDK's > following the Builder. I do not know why. > > So just download the Flex Builder 3 plugin Beta 2. > > Let me know if this does not work. > > -Peter From manish at gslab.com Thu Nov 22 04:06:14 2007 From: manish at gslab.com (Manish Sapariya) Date: Thu, 22 Nov 2007 14:36:14 +0530 Subject: [Funfx-developer] Exception when opening the app in FireFox Message-ID: <47454686.1030500@gslab.com> Hi, When I open the application developed using the tutorial using FireFox I get the following error. Things are fine with IE. SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file:///D:/Me/Work/GStaf/Eclipse/FirstFlexApp/bin/FirstFlexApp.swf cannot access file:///D:/Me/Work/GStaf/Eclipse/FirstFlexApp/bin/FirstFlexApp.html. at flash.external::ExternalInterface$/_initJS() at flash.external::ExternalInterface$/addCallback() at src.main::FunFX()[D:\Documents and Settings\Peter Motzfeldt\Eclipse-workspace\FunFXAdapter\src\main\FunFX.as:57] at src.main::FunFX$/init()[D:\Documents and Settings\Peter Motzfeldt\Eclipse-workspace\FunFXAdapter\src\main\FunFX.as:92] at mx.managers::SystemManager/docFrameHandler()[E:\dev\flex_3_beta2\sdk\frameworks\projects\framework\src\mx\managers\SystemManager.as:2314] Any idea? On the same note, I was wondering what will it take to make this framework run tests in FireFox browser? Thanks, Manish From manish at gslab.com Thu Nov 22 04:42:25 2007 From: manish at gslab.com (Manish Sapariya) Date: Thu, 22 Nov 2007 15:12:25 +0530 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: <474543F5.8030603@gslab.com> References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com>, <474430C9.7020204@gslab.com> <474543F5.8030603@gslab.com> Message-ID: <47454F01.4080707@gslab.com> One More problem with the drag/drop part of the test. I could see the drag starting, but the item is not dropped successfully into the target data grid. I am not sure why this is happening with automated test. If I do drag/drop manually it works fine. Any ideas? Thanks, Manish Manish Sapariya wrote: > Hi Peter, > Thanks for the help and the wonderful tool. > I faced following problem but I could go ahead. > > 1. When I ran my test first time, I got this error. > Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: > file://D:/Me/Work/GStaf/Eclipse/FirstFlexApp/bin/AutomationGenericEnv.xml > at src.main::FunFX/setTestingEnvironment()[D:\Documents and > Settings\Peter > Motzfeldt\Eclipse-workspace\FunFXAdapter\src\main\FunFX.as:125] > at src.main::FunFX/applicationCompleteHandler()[D:\Documents and > Settings\Peter > Motzfeldt\Eclipse-workspace\FunFXAdapter\src\main\FunFX.as:111] > > When I copied the AutomationGeneric.xml to bin directory > everything started working fine. > > 2. Sometimes test fails with following error. The test passes > always when I run ie in visible mode. Looks like some synchronization > issue. > =============== > Loaded suite control_test > Started > E > Finished in 32.359 seconds. > > 1) Error: > test_work_group(WorkGroupTest): > RuntimeError: No such itemRenderer on the object > C:/ruby/lib/ruby/gems/1.8/gems/FunFX-0.0.2/lib/xml_parser.rb:154:in > `select' > control_test.rb:32:in `test_work_group' > > 1 tests, 0 assertions, 0 failures, 1 errors > ======================== > > Thanks and Regards, > Manish > > > Peter.Motzfeldt at BEKK.no wrote: > >> That is strange. I just downloaded the Flex 3 SDK beta 2, and the >> files are not in this ZIP file. >> >> I have always downloaded the Flex Builder plugin for Eclipse and with >> the Flex 3 Builder plugin beta 2, the files are included in the SDK's >> following the Builder. I do not know why. >> >> So just download the Flex Builder 3 plugin Beta 2. >> >> Let me know if this does not work. >> >> -Peter >> > > _______________________________________________ > Funfx-developer mailing list > Funfx-developer at rubyforge.org > http://rubyforge.org/mailman/listinfo/funfx-developer > > From Peter.Motzfeldt at BEKK.no Thu Nov 22 05:42:06 2007 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Thu, 22 Nov 2007 11:42:06 +0100 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: <474543F5.8030603@gslab.com> References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com>, <474430C9.70 20204@gslab.com>, <474543F5.8030603@gslab.com> Message-ID: An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/funfx-developer/attachments/20071122/7df4651e/attachment.html From manish at gslab.com Thu Nov 22 08:50:59 2007 From: manish at gslab.com (Manish Sapariya) Date: Thu, 22 Nov 2007 19:20:59 +0530 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com>, <474430C9.70 20204@gslab.com>, <474543F5.8030603@gslab.com> Message-ID: <47458943.4060201@gslab.com> Hi Peter, I am trying to use this framework to test our applications web ui which is being developed in Flex. I would really glad to help make this framework better, to start with by using it as much as possible. We use Watir (wtr.rubyforge.org) extensively to test web applications and I was just wondering if you are aware of this tool. I would love, FunFx interface to mimic watir interface, though its just a suggestion. I am also looking at any possibility of making this tool available for FireFox. I am very new to Flex and do not see any near future opportunity to develop in Flex, but would testing the app that I mentioned. It would be great if you can point me to some links about how flex works, possibly in contrast with the normal web apps, where the automation is driven using the DOM of the pages. I was trying to guess as how flex automation framework might do it. A blog entry on this topic will be of immense help. Anyways, thanks for tool and looking forward to contribute to it as much as possible. :-) Regards, Manish Peter.Motzfeldt at BEKK.no wrote: > Hi Manish. > > It is great that you made it work, even though some other start > problems :-) > > Synchonization is one issue I want to take a closer look at when > improving the framework. Sometimes a test might fail the tenth time > running, without any reason. So One need to be a bit patient when > using FunFX, but I hope we can improve it incrementally when we find > issues while using it. > > Let me know if you after using it want to help improve it or anything, > I appreciate any help. > > > About the firefox security violation, is that when you just run the > regular application in Firefox? Have not had that problem, try to > remove the compiler option that adds FunFXAdapter.swc file and see if > you get the same error then. Maybe there are something about the > external interface that Firefox does not like. I will look into that. > > About the drag and drop, the drag motion is sensitive to mouse > gestures, so if you use your mouse the mouse will take over control. > This might be the reason for your problem. > > I will later today add a test application to the net with scripts that > you can run toward it to interact with it, and write how to write the > tests at my blog: > http://peternic.blogspot.com. > > I hope that will help, and I will try to add drag and drop > functionality to the test application. > > Let me know if there are any other problems. Thanks for giving me > feedback Manish! > > - Peter From Peter.Motzfeldt at BEKK.no Thu Nov 22 09:09:26 2007 From: Peter.Motzfeldt at BEKK.no (Peter.Motzfeldt at BEKK.no) Date: Thu, 22 Nov 2007 15:09:26 +0100 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: <47458943.4060201@gslab.com> References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com>, <474430C9.70 20204@gslab.com>, <474543F5.8030603@gslab.com>, <47458943.4060201@gslab.com> Message-ID: An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/funfx-developer/attachments/20071122/74c013db/attachment-0001.html From manish at gslab.com Thu Nov 22 11:34:48 2007 From: manish at gslab.com (Manish Sapariya) Date: Thu, 22 Nov 2007 22:04:48 +0530 Subject: [Funfx-developer] missing file: automation_agent_rb.swc In-Reply-To: References: <26e90790711160856se2395fct3b203e018a4d19f@mail.gmail.com>, <474430C9.70 20204@gslab.com>, <474543F5.8030603@gslab.com>, <47458943.4060201@gslab.com> Message-ID: <4745AFA8.9080001@gslab.com> Peter.Motzfeldt at BEKK.no wrote: > That sound great. > > Watir and Mercury Quick Test Pro was the two tools that I used as > models when I created FunFX, but I have not been using Watir that > much. It was more about how to interact with Internet Explorer then > about how to write the tests. But I will look into that, because FunFX > might benefit to look like Watir. That will be really interesting. > > I heard about a Firefox port of Watir yesterday, and it should be > interesting to look at how they have solved the problem on how to > interact with the browser. I could not see to find the source code. Fire watir is implemented using the jssh plugin for firefox, which basically gives a javascript conosle over socket interface. Fire-watir controls browser with the help of this javascript console. I am not sure how this javascript console will connect to the Adobe flash player executing the flex app. > > I will see if I can find some good resources for how Flex automation > works. > > Thanks! > > - Peter >