Forum Discussion

nandhu_kp's avatar
nandhu_kp
New Contributor
10 years ago

How to use jscript in vbscript coding in a testcomplete tool?

I have been developing test scripts on VBScript for capturing the screens of a desktop application and some of the screens I am using JScript for some of the functionality.

Is there any way to combine both scripts in a single file.?

Could someone help on this.?

 

Thanks

Nandhu

  • sbkeenan's avatar
    sbkeenan
    Frequent Contributor

    Hi

     

    Unfortunately you cannot mix your scripts if they are written in different script languages.  You could, however, write a script extension in either VBScript or JScript and you would be able to use that with any scripted language in any of your script units.  See the on-line help for 'script extensions' for further details.

     

    Hope this helps.

     

    Regards

    Stephen.