TestStand Python Adapter Support for Different Libraries Per Session

Updated Sep 10, 2019

Reported In

Software

  • TestStand

Issue Details

I have two applications that need to run on the same machine but require different versions of the same module. How can I have Python steps support different libraries in a TestStand Sequence? 

Solution

TestStand does support different versions of libraries through virtual environments. Virtual environments create a different directory for packages, allowing each virtual environment to have a different version of a particular module. Python steps allow you to select the virtual environment it will use. By telling the interpreter to use a particular virtual environment directory, the user can control the version of the libraries being imported. 

WAS THIS ARTICLE HELPFUL?

Not Helpful