查看完整版本: 如何让winrunner定时启动

garlecat 2004-11-30 18:54

如何让winrunner定时启动

winrunner能否实现隔两小时(或更长时间)运行一次所编写的scrip,并将每次运行结果记录下来

生如火花 2004-11-30 20:54

wait(7200);
call(script);

pcl2004_27 2004-12-11 20:31

WinRunner的定时启动

用命令行启动命令加上计划任务:
实现定时启动!

例子:

C:\Program Files\Mercury Interactive\WinRunner\WRUN.EXE -t
c:\batch\newclock -batch on -verify -run_minimized -dont_quit -run

命令查看winrunner得文档中Running Tests from the Command Line部分!

syang0517 2007-7-20 15:30

学习中~!~~~

lantianwei 2007-7-24 09:21

[quote]原帖由 [i]生如火花[/i] 于 2004-11-30 20:54 发表 [url=http://bbs.51testing.com/redirect.php?goto=findpost&pid=34849&ptid=5698][img]http://bbs.51testing.com/images/common/back.gif[/img][/url]
wait(7200);
call(script); [/quote]

方法不错!
页: [1]
查看完整版本: 如何让winrunner定时启动