1 person found this helpful
@sotestspacetimeriskind - Ideally I'd suggest using the stand-alone (projector) debug flash player rather than a browser to run the tests unless you have a need to use the browser; sounds like you're using IE on Windows currently. You can find the latest SA Debug FP for Windows @ http://download.macromedia.com/pub/flashplayer/updaters/10/flashplayer_10_sa_debug.exe. After it's installed, you need to associate files with the SWF extension to be opened by the FP application. On Windows you can do this by right-clicking on a SWF file and selecting "Open With..." from the context menu, then selecting the FP executable just installed, then selecting the check box on the file dialog choosing to open all future files with the application. If you require the browser to run your tests due to features only found in Flex running in the browser, I'd suggest using a browser other than IE and the latest FlexUnit 4.1 binaries with the command property (see http://github.com/blegros/flexunit/blob/master/FlexUnit4SampleCIProject/build.custom.xml for an example and http://docs.flexunit.org/index.php?title=Ant_Task).
If you're having trouble implementing the above, post your build script and environment specs and we'll try to help you out further.
I followed your instruction and solved my problem plus the resource is very useful Now I can deploy my project on a CI server
I'm using a 64 bit version of linux as my CI server and want to execute flexunit as a task in the build process. There isn't a 64 bit version of the stand alone player that will run on linux.
I was wondering how you configured FlexUnit to use the browser to run tests instead of the stand alone player. I'd be interested in trying to use the browser to execute my tests to see if it is a workaround for getting FlexUnit running on my Linux 64 bit system.
@mbbender - In FU4.2 we've added support for custom commands to launch the FP or ADL. The Ant task documentation has more information on this topic @ http://docs.flexunit.org/index.php?title=Ant_Task. There is also a sample of how to use the browser to launch the FP @ http://github.com/flexunit/flexunit/blob/master/FlexUnit4SampleCIProject/build.browser.xml. Hope this helps some.
Have you tried running the 32-bit SA FP to see if it'll work for you?