Forum Discussion

dhanuj's avatar
dhanuj
Occasional Visitor
27 days ago

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

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???

5 Replies

  • scot1967's avatar
    scot1967
    Icon for Champion Level 3 rankChampion Level 3

    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. 😉

    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! 👍 Be sure to mark or post the solution to help others out and/or to credit the one who helped you. 😎

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

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

  • Hassan_Ballan's avatar
    Hassan_Ballan
    Icon for Champion Level 3 rankChampion Level 3

    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.

    🤖 AI-assisted response
    👍 Found it helpful? Click Like
    ✅ Issue resolved? Click Mark as Solution