Forum Discussion

mfoster711's avatar
mfoster711
Regular Contributor
1 hour ago

Upgrade to TC 15.80 with Python 3.13

I am hoping others can confirm that I have properly handled all the changes needed to update from TC 15.73 to TC 15.80 which has newer version of python and breaks current projects. I know there have been numerous posts on this topic. I made the needed changes and they seem rather minor so I feel like I am overlooking something.

I looked through this page:
Migrating to Python 3.13 | TestComplete Documentation

I do not use any custom or special third party python libraries. I just use standard python that is available with TestComplete. I believe this means I can ignore everything on this page.

I then made changes for this: 
Working with TestComplete Global Objects in Python 3.13 | TestComplete Documentation

I updated all of my scripts to include a line similar to this at the top. I included any TestComplete specific function as part of the import. I only included import specific to each individual script.

from tc import aqConvert, aqFileSystem, aqFile, Sys, aqDateTime, Log, Indicator

Everything seems to be working. Before I update all of our PCs to TC 15.80 and move this code to production, I just hope anybody might point out anything I am missing. Or, is it this simple?

1 Reply

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

    You're not missing anything, and it is that simple - just annoying having to update all .py files!