Forum Discussion
Novari-QA
Frequent Contributor
a
tristaanogre
7 years agoEsteemed Contributor
The import functions feature of TestComplete does not do the necessary tasks for JavaScript. In test, you need to add
module.exports = Test
at the end of the code unit that has the class you want to export. You can then instantiate and use that class in any unit that has
var Test = requires("Test")
in the beginning.
Related Content
Recent Discussions
- 2 days agovladd1