This might be related to VBScript compatibility and how Windows 11 handles low-level UI interaction differently than Windows 10.
- VBScript is deprecated in Windows 11 and disabled by default in many recent builds.
 
- While it may still function in some environments, its integration with tools like TestComplete — especially during UI inspection with Object Spy — can be unreliable.
 
- The crash when inspecting TCustomActionPopupMenuEx likely points to a conflict between TestComplete's object hooks and the way Windows 11 handles legacy scripting and UI components.
 
- Run both TestComplete and your application as Administrator – this can help resolve permission-related crashes when accessing UI components.
 
- Try creating a new TestComplete project using JavaScript instead of VBScript. JavaScript is more stable on modern Windows versions and will help avoid issues related to deprecated scripting engines.
 
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