Execute Windows commands


#1

This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/execute-windows-commands.html

#2

@devalex88 who is the docs chief? This is a misleading title. Should be something like:

Executing System Commands

or

Executing External Commands

or similar. (Windows is not the only supported platform and Java surely doesn’t care).


#3

Hi,

is there a way to wait until batch file is done to execute? ex: Runtime.getRuntime().exec(‘cmd /c start /wait’+GlobalVariable.dir+’\BatFile\Test.bat’) is started and TC is done before the batch file is finished.

Also how we can run multiple batch file in single Test Case