Automation Testing

QTP UFT Object Recognition Issues with .NET

By Test Guild
  • Share:
Join the Guild for FREE

Here's a quick post telling how I'm sometimes able to resolve .NET object recognition issues with QuickTest Professional or UFT. This is an odd one, but sometimes when I install UFT or QTP on a new machine or upgrade to a newer version, QTP is unable to spy on .Net objects.

For example, here's a .NET application — but when I spy on it, it shows what should be SwfEdit class name as WinObject class name type:


This is weird, but it works!

To fix, try doing a quick recording against your application, then spy on your application again. You may find that the spy tool in QTP / UFT is suddenly able to recognize your .NET objects.


Weird, and it was all caught on video. Check it out:

That's it.

For some reason, QTP not picking up the correct call type seems to be a hook issue with.Net fields, but once you record, it's fixed. I've been able to consistently reproduce this on my Windows 7 machine after installing UFT 11.5.

It may not solve all your .NET object recognition issues, but it should be one of the first things you try before giving up. From some other quick QTP object recognition tips and tricks, check out my post, “Six things to try when QTP or UFT does not recognize an object.”

A bearded man with blue glasses and a black-and-white jacket smiles at a microphone in a studio setting.

About Joe Colantonio

Joe Colantonio is the founder of TestGuild, an industry-leading platform for automation testing and software testing tools. With over 25 years of hands-on experience, he has worked with top enterprise companies, helped develop early test automation tools and frameworks, and runs the largest online automation testing conference, Automation Guild.

Joe is also the author of Automation Awesomeness: 260 Actionable Affirmations To Improve Your QA & Automation Testing Skills and the host of the TestGuild podcast, which he has released weekly since 2014, making it the longest-running podcast dedicated to automation testing. Over the years, he has interviewed top thought leaders in DevOps, AI-driven test automation, and software quality, shaping the conversation in the industry.

With a reach of over 400,000 across his YouTube channel, LinkedIn, email list, and other social channels, Joe’s insights impact thousands of testers and engineers worldwide.

He has worked with some of the top companies in software testing and automation, including Tricentis, Keysight, Applitools, and BrowserStack, as sponsors and partners, helping them connect with the right audience in the automation testing space.

Follow him on LinkedIn or check out more at TestGuild.com.

  1. Hi,

    I have the same issues wtih UFT and .Net Application. I am using a trial version of UFT now. Should that be an issue. I have tried to spy, but the issues remains.

  2. Close all browsers, Open UFT, then re-open the browser.

    That fixed the problem for me. Maybe it’s the way I have the test configured, but seems like UFT doesn’t identify the .net objects in my IE11 browser if the browser is already open when UFT is started.

Comments are closed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

AI Testing in 90 Days: A Strategic Guide for CTOs and QA Leaders

Posted on 05/28/2025

Are you a CTO, QA Director, or testing leader looking to add AI ...

30 AI Terms Every Tester Should Know

Posted on 04/24/2025

Why This AI/ML List Matters to You (and Your Testing Career) AI and ...

6 Top Model Context Protocol Automation Tools (MCP Guide 2025)

Posted on 04/09/2025

What is Model Context Protocol (MCP) Model Context Protocol (MCP) is an open ...