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

Originally posted by dhanuj on October 08, 2025

This issue did not occur in the previous versions of TestComplete. It seems that the aqFileSystem object is no longer being recognized or initialized properly after the latest update.

Can anyone find a solution to solve this issue???

Originally posted by scot1967 on October 09, 2025

Hi dhanuj,

If you have verified by rolling a system back to the previous version open a support issue and create a very simple project to demo and test the problem with support. You can start a case from the help menu in TestComplete. I am on an older version and I haven’t seen any community posts related to this. That said version upgrades can cause unexpected issues so I always check and test before I trust it. :wink:

Post back and let us know what you find out. The community would be grateful.

… If you find my posts helpful drop me a like! :+1: Be sure to mark or post the solution to help others out and/or to credit the one who helped you. :smiling_face_with_sunglasses:

Originally posted by scot1967 on October 09, 2025

… Also, the version history page is a great resource to check to see if you really even need to upgrade. There isn’t anything in the release notes for this version specifically related to this issue that I saw.

https://support.smartbear.com/testcomplete/docs/general-info/version-history/index.html

Originally posted by erikgt on October 09, 2025

We extensively use aqFileSystem in our Javascript codebase, and v15.77.6.7 doesn’t cause issues for us. I believe this may be an issue specifically with v15.77.6.7 in combination with a Python codebase, and seems related to:
NameError: name ‘Aliases’ is not defined | SmartBear Community

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

Originally posted by rraghvani on October 10, 2025

It’s a know issue in the latest version of TestComplete with Python. I do suggest you raise a support ticket though.