Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 11 not recognizing WPF objects in Windows 7 32 bit system
#2
Not Solved
Try the following steps
1) Close QTP and any other application.
2) Open a CMD (command prompt)
3) Navigate the following path on your local file system: <<QuickTest installation folder>>\GlobalAssemblyCache\Net4
4) Execute the following commands:
..\..\bin\GACRegUtil4x86.exe -i Mercury.QTP.Agent.dll
..\..\bin\GACRegUtil4x86.exe -i Mercury.QTP.WpfAgent.dll
5) Check if this works, If no then try steps from 6 to 8.
6) 1. Copy from "C:\Program Files (x86)\HP\QuickTest Professional\GlobalAssemblyCache\Net4\Mercury.QTP.Agent.dll" to this directory structure "%windir%\Microsoft.NET\assembly\GAC_32\Mercury.QTP.Agent\v4.0_8.0.137.0__7d38df5e43b1c39a".
7. If QTP_00669 (OR 64bits support patch) is in play, then copy "C:\Program Files (x86)\HP\QuickTest Professional\GlobalAssemblyCache\Net4\Mercury.QTP.Agent.dll" to directory structure "%windir%\Microsoft.NET\assembly\GAC_64\Mercury.QTP.Agent\v4.0_8.0.137.0__7d38df5e43b1c39a".
8. If WPF 4.0 support is related, then copy "C:\Program Files (x86)\HP\QuickTest Professional\GlobalAssemblyCache\Net4\Mercury.QTP.WpfAgent.dll" under "%windir%\Microsoft.NET\assembly\GAC_MSIL\Mercury.QTP.WpfAgent\v4.0_9.5.1000.0__7d38df5e43b1c39a" /y.
If this doesn’t works then try steps from 9 to 12
9. Open the directory c:\windows\assembly\
10. Check that two files called Mercury.QTP.Agent exist. Process Architecture should indicate AMD64 and a blank value
11. If the assembly with the process architecture of AMD64 is missing, drag and drop the file
C:\Program Files (x86)\HP\QuickTest Professional\bin64\Mercury.QTP.Agent.dll

to
c:\windows\assembly\
12. If the assembly with the process architecture of blank is missing, drag and drop the file
C:\Program Files (x86)\HP\QuickTest Professional\GlobalAssemblyCache\Mercury.QTP.Agent.dll
to
c:\windows\assembly\
Reply


Messages In This Thread
RE: QTP 11 not recognizing WPF objects in Windows 7 32 bit system - by vinod123 - 06-13-2014, 03:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no action on click for particular wpf button jlavrecka 1 1,428 05-21-2020, 11:33 PM
Last Post: jlavrecka
  Issue in QTP WPF vimal_selvam 5 14,278 06-26-2018, 05:40 PM
Last Post: rateebhatt
  QTP not recognizing date calendar kQTPs 1 3,613 12-20-2017, 11:21 PM
Last Post: harikrishna
  UFT 14.01 - identifying wpf objects. but not performing action. chinmoyee 1 2,501 11-15-2017, 03:42 PM
Last Post: Ankur
  How to make QTP Script to work when system gets locked? ramkumarad 6 12,492 11-02-2017, 03:37 PM
Last Post: Divv

Forum Jump:


Users browsing this thread: 3 Guest(s)