标签:
import com.eviware.soapui.support.GroovyUtils def groovyUtils = new GroovyUtils( context ) def projectDir = groovyUtils.projectPath def proc = [ ‘cmd‘, ‘/c‘,projectDir+ ‘\\backupTestResult.bat‘ ].execute() proc << ‘y‘ StringBuilder output = new StringBuilder() proc.waitForProcessOutput(output, output) log.info output.toString()
标签:
原文地址:http://www.cnblogs.com/MasterMonkInTemple/p/4651250.html