Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 11.0 not recognizing flex objects
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT not recognizing Java Objects/ Elements YogeshCallappa 0 3,775 11-08-2016, 02:44 PM
Last Post: YogeshCallappa
  UFT not recognizing windows object sbudhwa 0 3,023 10-05-2016, 09:32 PM
Last Post: sbudhwa
  UFT 12 not recognizing Java Swing objects uftuser18 0 3,662 07-22-2015, 01:58 AM
Last Post: uftuser18
  Can UFT 12.01 support flex objects ? ramya M 0 2,571 03-23-2015, 03:50 PM
Last Post: ramya M
  Problem Automating Flex App - UFT 12.01 + Flex 4.6 SDK + IE 10,11 + OS windows 7,8 64 kamle 4 4,516 12-24-2014, 05:48 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)