Forum Discussion

sunrays123's avatar
sunrays123
Occasional Contributor
6 years ago
Solved

How to add python module in test complete

I need to use requests module in my python script to scraping HTML data with XPath. I am getting ModuleNotFound error when import requests module.   Could anyone please tell me how to add python mo...
  • NisHera's avatar
    6 years ago

    You should put your external libraries in python lib in testcomplete 

    eg 

    C:\Program Files (x86)\SmartBear\TestComplete 12\Bin\Extensions\Python\Python36\Lib

    If you have other python installations in your machine, just installing (eg via pip command) will not effect to python inside test complete.