03-24-2012, 02:39 AM
(This post was last modified: 03-24-2012, 02:40 AM by peachy32514.)
The QTP Object Spy is unable to see past the enclosing project. The application uses portlets. Whenever I attempt to hover over an item in the portlet (i.e. button), I receive the following error message:
The portlets are in separate projects and each project has its own ant build script. There is also a main ant script that invokes each of the other ant scripts. I placed the following code block in each of the ant scripts mxmlc blocks:
I also changed the keep-generated-actionscript attribute to true and set the static-link-runtime-shared-libraries attribute to false.
Any advice?
Code:
QTPAdapter:useErrorHandler() - Error #1009: Cannot access a property or method of a null object reference.
The portlets are in separate projects and each project has its own ant build script. There is also a main ant script that invokes each of the other ant scripts. I placed the following code block in each of the ant scripts mxmlc blocks:
Code:
<compiler.include-libraries dir="${FLEX_HOME}/frameworks/libs/automation" append="true">
<include name="automation.swc" />
<include name="automation_agent.swc" />
<include name="automation_dmv.swc" />
<include name="automation_flashflexkit.swc" />
<include name="automation_spark.swc" />
<include name="qtp.swc" />
</compiler.include-libraries>
I also changed the keep-generated-actionscript attribute to true and set the static-link-runtime-shared-libraries attribute to false.
Any advice?