Forum Discussion

Brentp's avatar
Brentp
Occasional Contributor
9 years ago
Solved

Using VB Script within JScript project

I'm new to TC, so my apologies in advance if there is an obvious answer to this that I'm missing.    I have an existing VB Script that I wish to call from within my JScript project.  When using Add...
  • AlexKaras's avatar
    9 years ago

    Hi,

     

    All code in script units within the project must be on the same language.

    Different projects within test suite may use different languages, but the rule that the same language must be used for script units (whether local or shared) within test project still apply.

    The only possible workaround for this is to move your code into Script Extension (see help for more details), but this is not always convenient and may not be always possible because not all runtime test objects accessible from the script are accessible from the script extension (again, see the help for more details).