Originally posted by Gane195 on October 06, 2025
When I try to inspect the TCustomActionPopupMenuEx component in TestComplete using Object Spy, my application crashes. It works fine on Windows 10, but the issue occurs on Windows 11."
Originally posted by Gane195 on October 06, 2025
When I try to inspect the TCustomActionPopupMenuEx component in TestComplete using Object Spy, my application crashes. It works fine on Windows 10, but the issue occurs on Windows 11."
Originally posted by Hassan_Ballan on October 06, 2025
Since both TestComplete and your application are running the same versions across environments and the only difference is the Windows version, this may be an OS-specific compatibility issue. Given that the crash only occurs on one version of Windows, I recommend creating a support incident with SmartBear so their team can investigate further.
Follow the link to submit a support ticket
Make sure to include the following in your report:
AI-assisted response
Found it helpful? Click Like
Issue resolved? Click Mark as Solution
Originally posted by scot1967 on October 06, 2025
Hi Gane195,
This isn’t something I have seen reported in the community. (Others may know of it) I have been out for a few weeks. Could you let the community know…
Stuff like this will allow us to find similar cases in the community or give us a place to start.
Originally posted by Gane195 on October 06, 2025
Hi scot1967,
TestComplete 15.77.6.7
Vbscript
Using Hybrid Framework
Yes Same Project
Originally posted by Hassan_Ballan on October 06, 2025
This might be related to VBScript compatibility and how Windows 11 handles low-level UI interaction differently than Windows 10.
Microsoft is in the process of removing VBScript entirely from Windows. For future compatibility and improved stability, migrating your scripts to JavaScript or Python is highly recommended.
Let us know if switching to JavaScript resolves the crash.
AI-assisted response
Found it helpful? Click Like
Issue resolved? Click Mark as Solution
Originally posted by scot1967 on October 06, 2025
I did a little digging with AI. Is your tested app written in Delphi? If so, which version of Delphi is being used? Check the link below to ensure support.
You could attempt to work around the problem by not using the spy on this component. If you can find the closest unique parent object you could use the findchild method to reference and automate the interaction with the component with the .keys method.
I agree with Hassan_Ballan, you should likely open a support case. ![]()
… If you find my posts helpful drop me a like!
Be sure to mark or post the solution to help others out and/or to credit the one who helped you. ![]()
Originally posted by scot1967 on October 06, 2025
Hassan_Ballan that stinks. It looks like Windows 11 24H2 is when VB Script becomes a ‘Feature On Demand’ i.e. you have to enable support. I assumean upgrade would not disable it until sometime in 2027. It looks like sometime in or after 2027 is when it will be disabled by default and fully removed TBD. Currently as long as the feature is enabled VB Script should continue to work so I doubt this is your problem.
Originally posted by avaadam on October 06, 2025
I also facing this
Originally posted by Gane195 on October 06, 2025
The crash happens when using JavaScript or Python
Originally posted by Gane195 on October 06, 2025
Hi scot1967,
Please find the attached recording. When I try to spy on the Actions menu, my entire application crashes.
Originally posted by Gane195 on October 06, 2025
TRibbonActionPopupMenu
Originally posted by rraghvani on October 07, 2025
Hi Gane195. Are you able to find out what language and framework your application uses? Was it working before upgrading TC? Ensure your application is supported, check Supported Technologies and Applications.
It’s not relating to the scripting language, VBScript. Your application is preventing Object Spy from looking at it’s methods and properties. You’ll need to liaise with your developers to try and diagnose the issue, SmartBear Support will be able to point you in the right direction.
Originally posted by Gane195 on October 07, 2025
Hi rraghvani,
It might be an issue with the latest version. Can I switch to an older version of TestComplete?
I just realized that I started getting this error after upgrading to the latest version.
I will check with the earlier version and see if the issue is replicated.
Originally posted by rraghvani on October 07, 2025
There has been a number of issues with the latest version of TestComplete!
You can download a previous version of TestComplete via the URL https://downloads.smartbear.com/TestComplete1577SLM.exe - just change the version number to an appropriate value.
Originally posted by scot1967 on October 07, 2025
Hi Gane195, this sure sounds like a Delphi app. Have you checked for version compatibility? The thought of going back to a working version is a good one if this was previously working.
Let us know what you find out. ![]()
Originally posted by scot1967 on October 07, 2025
Your recording didn’t post. It sounds like an upgrade issue though. If so drop a note to support and let us know. It would be greatly appreciated!