Issues upgrading from 15.7 to 15.8 version
- 12 hours ago
I would like to explain you the used way to resolve our latest problems with TC and Python.
The problem is when we use scripts stored in a different root path. When the scripts are stored in subfolders, they can’t be found.
We applied the “Centralizing Global Imports in a Shared Configuration File” for this link:
Working with TestComplete Global Objects in Python 3.13 | TestComplete Documentation
This global file, is important to create in the root path:
After create the global file, the scripts stored in the root path don’t need a prefix to refer to the objects.
The scripts stored in subfolders, need to use a prefix to refer to the objects:
import globals_tc as ag
ag.Aliases.Client…
ag.Log…
…Thanks,