Below is the my test environement for QTP flex automation
1. QTP 9.2,
2. Flex 3 builder
3. Flash player1 0
4. IE 6.0 WinXP -Service Pack 3
5. QTP plugin
I complied my flex objects with the automation libraries and followed the steps as given in ( http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_fb.html. ) and ceated a HTML wrapper file for my main SWF file.
Issue and observation
I used http://localhost:8555/myproject/flex/RunTimeLoading.html?automationswfurl=myproject.swf and my login page is displayed.when i click on submit button it is throughing an error.
ReferenceError: Error #1069: Property loginResultHandler not found on runtimeloading and there is no default value.
Please help me out of this issue.....appreciate your help at the earliest
The following things you may need to verify:
What appears from the error you have received, the "Login Submit" function call went successful through QTP via the HTML Wrapper although the failure occured on the SWF level. Even in this case it would be better to reverify your code at all the levels (i.e. QTP, HTM Wrapper, SWF file source code & SWF file compiled version).
Hope this resolves your issue...