İstanbul evden eve nakliyat Beylikd¨¹z¨¹ evden eve nakliyat Tuzla evden eve nakliyat
How to Tackle the Issue of QTP Dot Net Addin not Recognizing the NET 4.0 controls
Delicious Bookmark this on Delicious
software testing genius

How to Tackle the Issue of QTP Dot Net Addin not Recognizing the NET 4.0 controls

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

How to Tackle the Issue of QTP Dot Net Addin not Recognizing the NET 4.0 controls

Recently, we had couple of requests from our readers, seeking clue to an erratic behavior by QTP.

The problem statement goes like:

QTP Dot Net addin seems to have an issue with NET 4.0 applications.

Till .NET 3.5 and below, it was working fine. However, objects from .NET 4.0 application is showing a very strange behavior. Most of the objects are getting recognized as "SwfObjects".

Till .NET 3.5 and below, we could get the hierarchy as:


After moving to .NET 4.0, we are getting hierarchy like this:


Now the question arises

Why SwfWindow objects are being viewed as Window. We have done the installation of .NET framework 4.0 very recently.

The solution / answer goes like this:


The .NET Framework version 4.0 was installed after QuickTest Professional was installed which is the possible issue for this QTP behavior.

When you desire to work on .NET 4.0, then it’s better to firstly install this before the installation of QuickTest Professional. If .NET 4.0 is installed after QuickTest, then you need to register following two .NET DLL files as per the procedure given below.:

1. If working on a 64 bit operating system, you will be required to install patch QTP_00709.

2. Open a command prompt (Start > Run > type "cmd" > Click "Ok")

3. Navigate to GlobalAssemblyCacheNet4

4. Run the following two commands:

1. ....binGACRegUtil4x86.exe -i Mercury.QTP.Agent.dll
2. ....binGACRegUtil4x86.exe -i Mercury.QTP.WpfAgent.dll

The above mentioned steps should fix this issue.

However, just in case if it doesn’t happen, we would recommend to carryout clean uninstalling of HP QuickTest Professional. 

(We will be posting detailed steps to do a clean uninstall very soon in an upcoming article on QTP)

Many More Articles on HP QuickTest Professional 

Download Full Study Material - HP QTP & QC Certification Exams

Practical Roadmap to QTP Certification

Rehearsal of QTP in 1 Hr. -  Interview Questions

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Quick Navigation of Software Testing Genius

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

Full Study Material for International Certification Exams:

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Consolidated Study Material - All ISTQB Certification Exams

Practical Roadmap to CSTE Certification

Full Study Material to prepare for other Automation Tools & QA:

Study Material - IBM RFT Certification Exam

Study Material - HP LoadRunner Certification Exams for All Modules

Consolidated Study Material - Testing & QA

Rehearsal of LoadRunner in 1 Hr. -  Interview Questions


Comments :

comments ↓

Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri