Well..
Now I can run a TestRunner (FlexMonkey) to do some UI tests on a swf
page. But I want to run those tests on a deployed swf.
I know it's possible manually like this:
(FlexMonkeyTester.html)
<html>
<head>
<title>FlexMonkeyLauncher</title>
<style>
body { margin: 0px;
overflow:hidden }
</style>
</head>
<body scroll='no'>
<object id='FlexMonkeyRunner' classid='clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000' codebase='http://
fpdownload.macromedia.com/get/flashplayer/current/swflash.cab'
height='100%' width='100%'>
<param name='src' value='FlexMonkeyLauncher.swf'/>
<param name='flashVars'
value='targetSwf=mainMenu&testSwf=FlexMonkeyTests&visible=true'/>
<embed name='mySwf' src='FlexMonkeyLauncher.swf'
pluginspage='http://www.adobe.com/go/getflashplayer' height='100%'
width='100%'
flashVars='targetSwf=mainMenu&testSwf=FlexMonkeyTests&visible=true'/>
</object>
</body>
</html>
You add this html page to your source and it will be deployed like all
the other mxml pages. If you surf to the deployed
"FlexMonkeyTester.html" it runs FlexMonkey on (in this case)
mainMenu.swf.
I would like to define in the pom that the browser is automatically
opened at that FlexMonkeyTester.
On 28 jan, 10:56, pvremort <[email protected]> wrote:
> @David: what do you mean specifically ? What is the exact problem :
> that you want to run AFTER deployment at some location, or just
> running the tests from maven as such ?
>
> Piet
>
> On Jan 28, 10:51 am, Marvin Froeder <[email protected]> wrote:
>
> > Possible? Well, everything is possible.
>
> > How, is a complete different question :D
> > I never did, but, must be possible.
>
> > VELO
>
> > On Wed, Jan 28, 2009 at 7:06 AM, [email protected] <
>
> > [email protected]> wrote:
>
> > > Hi
>
> > > "the-return-of-automated-ui-tests" is an example of how to run
> > > FlexMonkey on whatever mxml page you'd like at build time.
> > > Is it possible to run these tests automatically after the application
> > > is deployed using maven?
>
>
--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---