Can anyone suggest me step by step process to download and add external Python packages in TC 14.
I tried the following, but I didn't have any luck
from os import sys
sys.path.insert(0, '%PATH_TO_PYTHON_DIRECTORY%\Lib\site-packages') import requests #--> getting error i.e. requests module doesn't found
And do I need to install python in my machine? I guess python is inbuilt with TC . Am i right?
Python has a specific install in TestComplete that TestComplete uses to run.
This requests package. Is it part of Python? Is it custom?
In order for TestComplete to find the package, it needs to be placed in the specific TestComplete folder (see https://support.smartbear.com/testcomplete/docs/scripting/specifics/python.html#importing-packages). If you don't have it there, it can't find the module.
How can I download "requests" module/package in Test Complete.
Once downloaded, i can place it in the specified folder. I am unable to download that package.
That sounds like a question for your own IT/IS department. TestComplete doesn't have anything to do with the specific modules, you'll need to get the module into the folder however you can download it.
Were you able to resolve the question? What was the solution?