Ask a Question

Python Version support: for TestComplete

Ravik
Super Contributor

Python Version support: for TestComplete

Hi All, 

 

As we know, we have 2 major version of Python- 2.x and 3.x. 

 

I have installed 2.x version in my system for the other purpose (need of the project)

I think python3.0 is get installed in TestComplete by default.hence several time get the conflict errors .

 

How we can handled multiple version in system or how we can specified to TC to pick the modules or libraries from give path only.

1 REPLY 1
tristaanogre
Community Hero

Re: Python Version support: for TestComplete

Reference https://support.smartbear.com/testcomplete/docs/scripting/specifics/python.html

 

TC's Python compiler, as far as I am aware, is going to always use that version.  So, for automated testing purposes, you should write all your automated tests to use that version.  Importing modules from outside of TestComplete should make sure that those modules are supported in that version.  At least, that's my best understanding.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: