Originally posted by yohanmidha on September 04, 2025
Previous version - 15.76
upgraded to - 15.77
TC 15.77 Included upgrading python version to 3.13.
This has led to the following issues -
Cant run any test - all files that you have written, for example - homepage.py when referenced at the import line will provide the python runtime error ‘Module not found’.
Cant add new files - right click on script, add new item - > leads to nothing (no new window), testcomplete freezes.
Its understandable when upgrading python versions users are expected to ensure they upgrade/install their 3rd part dependencies. But unable to recognize your own files within your project is clearly just wrong.
The point of this post is to ensure that people are aware of this and should avoid upgrading their python projects.
In classic smartbear fashion there will be no information addressing this - or updates to documentation. The error message that Testcomplete provides you takes you to the page that helps installs 3rd party dependencies - which is completely incorrect and outdated.
Despite them claiming that their documentation is up to date in accordance with the new release 15.77.
As you can see they are literally referencing python11 in this command when claiming the below works for their latest version that ships with python 3.13.
Originally posted by yohanmidha on September 08, 2025
Raised a ticket and they’ve added it to their backlog. No estimate on how long it could take and they advice downgrading - seems like it could be some time before we get a new working build with the upgraded python support. TestComplete1576SLM has been treating me well (as a python user).
Originally posted by rraghvani on September 09, 2025
They won’t give an estimate time on fixing the issue, and support will always suggest of downgrading. Not realising there’s issues in the previous version relating to -
Chrome flashing after update v.139 on Windows 11. Fixed a critical issue where Google Chrome would continuously flash or refresh during playback on Windows 11 after updating to Chrome version 139. This caused unstable testing behavior and UI element interaction failures.
When this issue is going to resolve, is it the issue or expected behavior.
I tried encapsulating the objects and methods in class. This Aliases error is not shown. How we can plan the code migration from plain python scripts to object oriented Python.
Originally posted by BD_Geoactive on October 17, 2025
I have a reply from support - It suggested few steps to try and using a custom version of TestComplete.
however, i haven’t tried it yet as it sound quite complicated and am not a developer. I also not sure if I can share the link to that custom Test Complete version.
but this is the screenshot of the suggested steps (with the custom T.C).
I suggest you log the issue for yourself and support can get back to you.
Originally posted by yohanmidha on October 28, 2025
I’ve followed up with support as well and will update if I hear back. If any of you had created a support ticket, I encourage you follow up and ask for updates.
I have received a patched build (Version: 15.78.93.7) from SmartBear support with the following workaround:
After discussion with the Development team, it is confirmed that this is a bug introduced in TestComplete 15.77 and the change from Python version 3.11 to 3.13.
Our development team has provided a release build that includes the Python Runtime fix for TestComplete 15.78 to resolve the import issue. The official release will be available in 15.79, which should be available later this month.
. Please complete these steps in order:
Download the patched TestComplete build (i think i’m not allowed to share the link)
Uninstall the existing TestComplete installation from the machine.
Install TestComplete using the file: TestComplete1578_Release_Protected
Add the missing required libraries to line 1 of the Python test files that require the use of tc and other module imports:
4.a. from tc import *
Note: Without the " from tc import * " statement, the new interpreter will not discover the TestComplete objects. This is caused by Python 3.12+ enforcing isolated interpreter states. In Python 3.11, global objects injected by the host (so files such as Log, Project, and Sys) could leak across modules. Python 3.12+ prevents this by design. This limitation comes from the Python changes, not from TestComplete.
But I observed another problem with our library Architecture:
With the new python version you can not simply import global python scripts included in your TestComplete project like before.
We use a central library.py that we include in all projects and import it in the test scripts.
There we could add the “from tc import *” simply centralized, BUT:
The new python interpreter only finds scripts located at the project’s script directory.
We have to append the path of our global script with sys.path.append() to make it work.
This means a huge amount of hours on our side to make our tests ready for the new TestComplete Version with Python 3.12+.
It’s not really a satisfying solution for us but we will probably be left with no other option by SmartBear.
Originally posted by BD_Geoactive on November 18, 2025
I think there is a new release version 15.79 that puts in the fix, however you still have to alter something to your existing Python script… I have not read it much…because teh Smartbear support site, which it tells you what to do, is currently down! i saw it this morning but no more.
ensure you save all work prior to upgrade Test Complete…
Originally posted by rraghvani on November 19, 2025
I’ve installed the latest version, TestComplete 15.79.5.7. Python now works, with additional changes required to the scripts - as Python 3.13 treats each global objects e.g. Log, Project, and Sys as a regular scoped object, you now have to pass these as parameters. As an example, Log is being passed as a parameter -
Originally posted by Hassan_Ballan on November 20, 2025
Just adding a small note in case it helps anyone—nothing definitive, just potential angles to consider:
Python 3.12+ changed how interpreter isolation works, so some of the missing Sys, Log, Aliases, etc. in imported modules might be tied to Python’s own changes rather than only TestComplete.
This could be why newer builds require more explicit imports like from tc import *.
If people use shared libraries outside the project folder, it may also be necessary to add those paths into TestComplete’s Script Directories instead of relying on Python to find them automatically.
Even though 15.79 appears to fix the major errors, some script adjustments might still be expected because of Python’s new behavior.
Again—not claiming certainty, just sharing possible reasons and areas to look at.
AI-assisted response Found it helpful? Click Like Issue resolved? Click Mark as Solution
We use python version 3.10 and have test complete version 15.78.12. all our python scripts were failing as test complete attempts to find 3.13 and can’t get to our python version. We are using the workaround where we update the Python directory name in smart bear folder and it worked.
Does the latest test complete version would allow us to use old python version 3.10?