Micro Focus QTP (UFT) Forums
QTP 11 and Flex 4.5 - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: QTP 11 and Flex 4.5 (/Thread-QTP-11-and-Flex-4-5)



QTP 11 and Flex 4.5 - luc - 02-02-2012

Hi,

I am trying to use QTP to test a flash app.
I installed QTP11, and the Flex 4.5 plugin for QTP on my Win7 64b system.
I select the Flex, ActiveX and Web add-in at QTP startup.
I also applied the procedure below (from Adobe site) to build my flash app:
[i]To use run-time automated testing (recommended):

Open a command prompt.
Navigate to the flex_builder_root/sdks/4.5.1/templates/automation-runtimeloading-files directory.
Execute the build.bat file. This compiles the runtimeloading.mxml file into a SWF file.
Copy the runtimeloading.swf and RunTimeLoading.html file to your web server. Copy the Flex application that you want to test to this server as well (the application need not be compiled with automation libraries).
Request the RunTimeLoading.html file and pass your Flex application as the automationswfurl query string parameter; for example:

http://localhost/RunTimeLoading.html?automationswfurl=MyApp.swf
[/i]



But when I do a "navigate and learn" from the repository manager, QTP is still unable to see Flash content, all it sees is a WebObject, nothing more.

On another Windows server 2008 32b, it's a bit better,, the Object Spy is able to see flash objects,however, Navigate and Learn does not see any details, only a WinObject.

Any suggestions,
Thanks