[SoapUI] 通过Groovy调用批处理文件.bat
2015-07-16 14:30
706 查看
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()
相关文章推荐
- (转)ueditor使用webuploader以后多图上传后顺序乱掉问题解决方法
- UI_UITabBarController
- 解决设置uiview的alpha属性后导致subviews页透明
- UILabel、UITextView自适应得到高度
- Android开发UI之动画侦听
- UIButton 上设置 self.imageView self.titleLabel
- Builder 建造者 (创建型)
- EasyUI datagird 排序 按数字类型的问题
- 玩转iOS 9的UIDynamics
- WPF standard ComboBox Items Source Change Issue
- Android中使用Handler机制更新UI的三种解决方案
- UITableViewCell中的imageView固定大小
- Android UI学习之RadioButton和RadioGroup
- (C#)使用队列(Queue)解决简单的并发问题
- Mac下的UI自动化测试 (四)
- iOS UILocalNotification 多个本地通知,怎么有区分的删除
- POJ 2299 Ultra-QuickSort 树状数组,归并排序
- iOS数组count操作(NSUInteger)的安全性
- 如何更好地限制一个UITextField的输入长度
- SAP GUI FOR HTML登陆 (转)