mortenb123
5 years agoContributor
import nodejs modules
Hi
I've written a very basic login module in node.js, which works fine, but I need the following base modules enclosed:
var exec = require('child_process').exec; var stream = require('stream');
is this possible, there is nothing about importing modules in
https://support.smartbear.com/testcomplete/docs/scripting/specifics/javascript.html
testComplete give me this:
Error: Unable to find the specified module
Thanks
I repeat:
TestComplete does not use nodejs. To do what you want to do, you need to
1) Include the explicit code units into the TestComplete project
or
2) Create some sort of class library (.NET, Java, etc) that you can bring in using JavaBridge or CLR bridge to call that code.