Hi,
    I am using flex for some time and now I have to implement automation
testing in Flex using QTP. During building my app through Flex Builder, I
include following 4 swc files as additional compiler arguments to make my
app testable using QTP.

Files:
1. automation.swc
2. automation_agent.swc
3. automation_dmv.swc
4. qtp.swc

The size of the compiled swf gets increased as compared to the swf generated
without using these swc files which is perfectly correct as given in Flex
documentation.

Now I want to compile the app using ant. I have made following entries in
build.xml file.
                        <compiler.include-libraries
dir="${testing.libs.path}" append="true">
<include name="automation.swc" />
<include name="automation_agent.swc" />
<include name="automation_dmv.swc" />
<include name="qtp.swc" />
</compiler.include-libraries>

But the size of compiled app is same as in the case when these entries were
not made in build.xml and hence the compiled app is not testable with QTP.

Please let me know the solution or any work around.

Thanks
Vaibhav Chauhan

Reply via email to