First I thought I could easily solve it just by pointing
flasplayerCommand to a browser instance, but I run into other issues
with flexmojos 4.0-alpha-4:

After removing the path to the FlashPlayer from my bash_profile I
tried lots of combination, but was not able to launch the unit tests
anymore:

[DEBUG] [LAUNCHER] exec: Flash Player - /Users/chris/IdeaProjects/
FlexMojosTest/FlashIntegrationTests/target/test-classes/TestRunner.swf
...
Failed to launch Flash Player.  Probably java was not able to find
flashplayer.

I tried it with the additional parameter:
mvn clean install -Dflashplayer.command=/Applications/Adobe\ Flash\
Player/Flash\ Player.app/Contents/MacOS/Flash\ Player

added it to my pom:
<testRunner>
<launcher>
<flashplayerCommand>${flashplayer.command}</flashplayerCommand>
 </launcher>
 </testRunner>

also tried to add it as a property in my pom:
<properties>
    <flashplayer.command>/Applications/Adobe\ Flash\ Player/Flash\
Player.app/Contents/MacOS/Flash\ Player</flashplayer.command>
  </properties>
...

but somehow it never picks up this parameters I'm setting. Did
something changed for flexmojos 4?

thanks for your support,

Christoph

On 5 Aug., 12:46, ripcurlx <[email protected]> wrote:
> Hi,
> running the unit tests in the FlashPlayer works without any problems.
> Beside the unit tests I have also Flash Integration tests. In the
> tests I have to be able to login and logout from my test server.
> Unfortunately that only works if I run the tests within a browser,
> that sends the cookies.
>
> Is there a way to run the unit test swf with flexmojos within a
> browser as well?
>
> cheers,
>
> Christoph

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to