Getting “NameError: 'aqFileSystem' is not defined” after upgrading to TestComplete v15.77.6.7 (x64).

Originally posted by Hassan_Ballan on October 09, 2025

If you’re using Python, please double-check that your project is running with Python 3.13.3, which is the supported version in TestComplete v15.77.6.7. A mismatch could cause issues like missing built-in objects.

Also, a potential workaround was mentioned in this post — try adding the following to your OnStartTestEvent handler:

import gc
def OnStartTestEvent(Sender):
    gc.collect()

This forces garbage collection before your tests run and helped resolve similar issues with built-in objects.

:robot: AI-assisted response
:+1: Found it helpful? Click Like
:white_check_mark: Issue resolved? Click Mark as Solution