Running VBScript Code in TestStandHow do I call a VBScript code in TestStand? I do not find any step type that enables me to call a VBScript code module.

Updated Oct 27, 2020

Environment

Software

  • TestStand

How do I call a VBScript code in TestStand? I do not find any step type that enables me to call a VBScript code module.

You can call VBScript code in TestStand by using Call Executable step type. You can use this step type to call a batch file, which then calls a VBScript code. 

Attached below is a simple example. Extract the zipped file and place it on desktop, open up the sequence file in TestStand and select Run MainSequence. The VBScript code will ask you to enter your name in a pop-up dialog box and then display the name you entered in a message box.

Attachments