Forum Discussion
Hi,
"by connecting to a rest-api"
You are connecting to external resources with for example JSON data or you mean that You have (somehow) TestComplete project methods as Rest-Api service?
"Is it possible for me to use this in this project without rewriting it entirely into python."
In my opinion You can't use python sctipts inside JS project. What You can do is to put JS scripts inside script extansions and then use it in python projects.
- mortenb1236 years agoContributor
|You are connecting to external resources with for example JSON data or you mean that You have (somehow)
|TestComplete project methods as Rest-Api service?
I have a python module which drags in some modules called as an import, modules are installed with pip in the TC test execute context venv. I fear I have to do the same with nodejs.
Hi,
> I fear I have to do the same with nodejs.
Depending on what is required for tests, aqHTTP object (https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqhttp/index.html) might appear to be enough...