Running VBScript Code in TestStand

Updated Nov 1, 2019

Reported In

Software

  • TestStand

Issue Details

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.  

Solution

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