Micro Focus QTP (UFT) Forums
QTP 11.0 not recognizing flex objects - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP 11.0 not recognizing flex objects (/Thread-QTP-11-0-not-recognizing-flex-objects)



QTP 11.0 not recognizing flex objects - Julie M - 12-23-2013

System specs: QTP 11 on a Windows 7/64-bit machine. IE version 9 (32-bit) with Flash 10.1.85.3 (32-bit) installed.

We’re wanting to do a proof of concept on one of our newest applications built with flex. It is using IE9 (32-bit) and built with Flex SDK 4.1 and the automation libraries loaded (automation.swc, automation_agent.swc and qtp.swc). QTP 11 is able to start up and navigate to parts of the application that aren't flex but is having problems identifying the Flex objects.

QTP 11 has the following add-ins installed: web, java, oracle, Flex 4.5.0. Air 2.6.0.

When running the flex application, we only select Flex and web add-ins, before recording.

This is what we get when we record:

Code:
Browser("Retired Member System").Page("Retired Member System").WinObject("MacromediaFlashPlayerActiveX").Click 641,434
Browser("Retired Member System").Page("Retired Member System").WinObject("MacromediaFlashPlayerActiveX").Click 70,276
Browser("Retired Member System").Page("Retired Member System").WinObject("MacromediaFlashPlayerActiveX").Click 463,93

I've confirmed that Flex is loaded. I'm expecting to see "Read flex environment and matching ProgId TEAPluginQTP.TEAFlexAgentQTP" which I do, but there is an error in the following line. The QTP log file shows the following.
.....
Code:
2013-12-16 09:35:10,713 INFO  LogCatPackTEA -  <a href="q:\ft\qtp\builds\11.00.1018.0\release\qtp\addins\coreaddins\teapackage\app\teapackage\teaautmanager.cpp">teaautmanager.cpp</a> Line=492 Function=CTEAAutManager::InitTestables ThreadID=4596 CTEAAutManager::InitTestables(): Read Air environment and matching ProgId TEAAirPluginQTP.TEAAirAgentQTP
2013-12-16 09:35:10,713 INFO  LogCatPackTEA -  <a href="q:\ft\qtp\builds\11.00.1018.0\release\qtp\addins\coreaddins\teapackage\app\teapackage\teaautmanager.cpp">teaautmanager.cpp</a> Line=492 Function=CTEAAutManager::InitTestables ThreadID=4596 CTEAAutManager::InitTestables(): Read Flex environment and matching ProgId TEAPluginQTP.TEAFlexAgentQTP
2013-12-16 09:35:10,713 ERROR ErrorLog -  <a href="q:\ft\qtp\builds\11.00.1018.0\release\qtp\addins\coreaddins\teapackage\app\teapackage\teaautmanager.cpp">teaautmanager.cpp</a> Line=510 Function=CTEAAutManager::InitTestables ThreadID=4596 CTEAAutManager::InitTestables(): Failed in creating ITestable for TEAPluginQTP.TEAFlexAgentQTP ProgId

Any ideas on how to resolve this? I've seen lots of posts with this problem but no solutions posted so far.

Julie