Forum Discussion
I can't get anything to work when the files are linked into the project vs. the files are local to the project. For example, this is a simple keyword test that works:
However, when I change things to reference Common, which is linked in from another project under the same Project Suite thusly:
I get the following error:
I even tried it using a Python-only test and go the same results:
I'm sorry if this is a simple problem, but I'm just not grokking how this should be done. I would think that having a common global library of scripts should be a fairly common practice and this should probably be specified a bit more clearly in the documentation.
Thanks for the detailed information - what you have is correct, because I use a similar setup, but with JavaScript.
After reading the following topics:
I think it should still be supported, but with the changes in Python 3.13.3, it may have broken this in TestComplete.
This should work, but it doesn'tAdding the full path to the list of directories in sys.path, works!
It's worth opening a support ticket for this, as it could be a genuine bug.
- TikiHardBop14 days agoOccasional Contributor
It is definitely a bug and I reported it months ago, but I can't seem to get anyone at TestComplete to do anything about it.
- rraghvani4 days ago
Champion Level 3
Either implement the workaround that I've provided, or wait for a status update from their Support Team.
It's taken several minor releases, roughly 12 months to fix a click issue that I had reported!
- TikiHardBop14 days agoOccasional Contributor
Your workaround does work. Thanks! I can't understand why they don't provide the capability for ProjectSuite-level library scripts to begin with, like they do with ProjectSuite-level variables.