I have a more or less hypothetical question as I am attempting to get
automated tests running with Flex Monkey or RIA Test on my
application.
We are currently compiling all of the applications with the following
pom.xml contents:
<dependency>
<groupId>com.flexmonkey</groupId>
<artifactId>automation_monkey</artifactId>
<version>3.4.1</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>automation_rb</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>automation_agent_rb</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>automation</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>automation_agent</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>automation_dmv</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>qtp</artifactId>
<version>${flex.version}</version>
<type>swc</type>
<scope>test</scope>
</dependency>
Let's say we have a common swc library used by a few of our SWF
projects. Do we need to have that file compiled with the dependencies
above as mvn flexmojos:test-swc so that any of the SWF files that are
compiled with mvn flexmojos:test-swf will be testable.
Right now we are getting quite a bit of untestable code in FlexMonkey
and RIATest. We get errors related to visibility of components even
though the components are clearly visible.
This has all gotten me thinking that I have compiled my application
incorrectly for automation. We have successfully been able to load the
test-swf in both FlexMonkey and RIATest.
Any input with regards to the dependencies being compiled in would be
appreciated. I also need to understand how to ensure that my SWF files
when compiled with mvn flexmojos:test-swf correctly depend on the
automation linked libraries.
Thanks in advance for thoughts and conversation.
-Adam
--
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/