goalonline 发表于 2006-10-20 11:00:20

求助在命令行下如何启动winrunner

如何在命令行下启动winrunner

wyy83 发表于 2006-10-25 11:37:10

开始——》运行——》wrun.exe

singlejeff 发表于 2014-11-7 14:23:43

@echo off
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
:begin

"D:\Program Files\Mercury Interactive\WinRunner\arch\wrun.exe" -t "D:\Automain\Main" -run_minimized-verify REStest -dont_quit -run


把上面复制到bat中,一键启动WinRunner,并执行脚本main,而且以最小化模式开始

singlejeff 发表于 2014-11-7 14:43:57

参考 WinRunner user‘s guide 38章,Running Tests from the Command Line。里面介绍了很多参数
页: [1]
查看完整版本: 求助在命令行下如何启动winrunner