Hrm, something I just noticed.....
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>qtp</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>internal</scope>
</dependency>
that mean your regular SWF will include the qtp, not the test-swf (it may
also include too, but not only there).
If is your goal just to include the automation stuff only on the test-swf,
then change the scope to test.
VELO
On Wed, May 12, 2010 at 2:23 PM, aparrish <[email protected]> wrote:
> Logan:
>
> So how do you declare your dependencies for automation?
>
> We are trying to use test-swf with FlexMonkey and having very similar
> problems with FlexMonkey being able to identify and click on objects
> at runtime.
>
> They worked fine before FlexMojos was used to build so I suspect it is
> something dumb I am doing, but would love to try an alternative
> approach.
>
> -Adam
>
> On May 7, 9:37 pm, Logan Allred <[email protected]> wrote:
> > On Fri, May 7, 2010 at 9:58 AM, Radu Fiser <[email protected]> wrote:
> > > The problem is not in qtp. Is my pom ok? Am i using correctly test-swf
> goal?
> >
> > We use SilkTest, not QTP, but it should be similar. Your pom looks
> > very similar to ours, except that we don't use the test-swf goal, we
> > just build our regular swf with automation in it.
> >
> > My understanding is that if you use test-swf, you should end up with 2
> > swfs in your target directory, your normal and your -test.swf. Are you
> > seeing that?
> >
> > When you build with automation, your swf should be quite a big bigger
> > (ours went from 700k to 1.3mb). Try commenting out the automation and
> > see if your swf size changes. If it stays the same, then it's not
> > getting compiled correctly.
> >
> > Try running your build with mvn -X, which will be very verbose, but
> > will include detailed configuration information for the compiler. You
> > want the automation swcs to be listed in the include-libraries
> > section.
> >
> > Logan
> >
> > --
> > 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]<flex-mojos%[email protected]>
> > For more options, visit this group athttp://
> groups.google.com/group/flex-mojos
> >
> > http://flexmojos.sonatype.org/
>
> --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>
--
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/