Originally posted by VijayMachhan on April 15, 2025
Description:
After upgrading our operating system, our previously working TestComplete automation scripts are consistently failing due to object recognition issues.
The test execution halts at various points where TestComplete is unable to identify UI elements that were previously accessible. Even though Name Mapping is correctly configured, and scripts were working fine earlier, now even freshly recorded scripts stop working.
The application under test launches, but object properties such as WndCaption, ObjectType, or ClassName are either not recognized or throw runtime errors. In some cases, coordinate-based clicks fail with errors like “transparent or out of window bounds.”
We suspect this is related to changes introduced by the OS upgrade, such as DPI scaling, UAC behavior, rendering mode, or accessibility API differences.
Request:
Please help us:
Validate TestComplete compatibility with the new OS version.
Provide guidance or patches for object recognition in this environment.
Advise on any configuration (UAC, DPI, admin rights) that needs to be adjusted post-upgrade.
What is the new OS, that you are using? What DPI scale are you using? What version of TestComplete are you using? Have you tried re-installing TestComplete? Do you have SmartBear Test Extension installed? Are you testing web or desktop application?
TestComplete should be fully compatible with all of the latest Windows operating systems. I have not seen any posts here lately about OS upgrade issues. Here are a few links that may help you out. If you have researched this and tried to uninstall and reinstall TestComplete it may be time to contact support.
I have encountered this problem after Windows 11 updated to 26200.5551 (24H2) at the end of March. I’m using Test Complete 15.74.33.7. I rolled back to 15.73.16.7 but the problem persisted. If I spy a dropdown, I get the message ‘The window with xyz handle exists but did not respond’.
Everything works fine on systems that have an older version of Windows 11.
Originally posted by Hassan_Ballan on April 15, 2025
I understand you only upgraded your windows, TestComplete version did not change.
If you create a new project to test with, would it work?
Any older windows version station to try with to determine is your project still works?
Originally posted by VijayMachhan on April 16, 2025
We’d like to provide some more details regarding the issue we’re currently facing:
There was no OS upgrade. However, we did apply a Windows security update last week, and the issue started occurring after that.
Operating System: Windows 10 -1809
DPI Scale: 150%
TestComplete Version: 15.72.60
Re-installed TestComplete: Not yet reinstalled .Should i have to?
SmartBear Test Extension: Yes, installed and enabled.
Application Type: Desktop WPF application.
Your DPI and/or Scale needs to be set at 100%. Otherwise, TestComplete will fail to recognise objects. You can test this using the Object Spy tool, and you will see that objects are not correctly highlighted, as you hover over different UI objects.
As you have only installed an OS Patch, you don’t need to re-install TestComplete.
I will add that if your DPI setting and OS/GUI configuration have not changed since applying the OS update(s) then I wouldn’t think this would be an issue if all was working before.
A re-install of TestComplete is likely one of the things support will ask you to do so they can start from a known point.
The OS version you have provided was released in 2018 and the last update was in 2021. What is the security patch you installed? It is possible something went wrong there. What research have you done regarding this patch?