Using batch files as AUTs (Windows)

Last edited on

Windows batch files (.bat) can be used directly as AUTs.

Keep in mind, if the .bat file starts your main AUT process with the “start” command, launching it in the background, Squish will think the AUT has terminated when the .bat file is finished execution. You may need to remove “start” from the command in your .bat file, or insert a command to delay the end of the batch file, for example timeout 20 to insert a 20 seconds pause.