COnverting from VBScript to python
We are converting our framework from VBScript to python on Windows, and I am having trouble finding objects and modules.
My Project Script directory contains:
Script
Drivers folder
QASSL_Library (Class modules and common procedures, including test driver)
Smoke
smoke test suite file .py
Billing
....
I am trying without success to use sys.path.append to add paths to the Script\Drivers folder and the Scripts\Smoke folder. Nothing changes - the DOS path/Path/PATH variable is still the same.
QUESTION 1: Do I need to set any of the python env variables like PYTHONPATH when using the TestComplete python IDE and execution?
QUESTION 2: How do I use sys.path.append for so that the .py tests can correctly import given my folder structure?
Thanks.