Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
4 years ago
Solved

Declare the variables in one unit do not show the methods and properties of variables in other unit.

When we delcare the variables in one unit and want to use those variables in other units then Testcomplete do not show the properties and methods as part of code completion. We are using Java Script ...
  • sonya_m's avatar
    sonya_m
    4 years ago

    Thanks for updating us here nisgupta 

    I found your support case and here's what's suggested:

     

    >>

    Since name mapping is available to all scripting units in the project, it may be best to separately create the same variable in each unit its needed in.

    <<