Forum Discussion

macheshmeh's avatar
macheshmeh
Contributor
2 years ago
Solved

importing function with Java Script

I want to import a function with java script, but it doesn't work, can you please check my code    Unit 1: function lancerLogic () { aqTestCase.Begin("lancer l application logic"); Logic = Teste...
  • rraghvani's avatar
    2 years ago

    Use round brackets for JavaScript,

     

    var lancer_logic = require("lancer_logic");

     

    Same issue as this post Import unit is not working

     

    I've logged a support call for this bug.