分享知识,共同学习,欢迎光临我的博客:http://zou-hailong.blogspot.com

SilkTest:通过命令行方式运行SilkTest

上一篇 / 下一篇  2008-09-16 17:21:25 / 个人分类:SilkTest

可以在DOS窗口或者Batch文件运行SilkTest程序,语法如下:

Partner [-complog filename] [-m mach] [-opt optionset.opt] [-p mess] [-proj
filename [-base filename]] [[-q] [-query query name] [-quiet] [-r filename]
[-resexport] [-resextract] [-r] scr.t/suite.s/plan.pln/link.lnk [args]] [-smlog
filename]

各参数的含义请参照SilkTest帮助文档

如:partner -proj "C:\Program Files\Segue\SilkTest\Projects\Sanity\Testing.vtp" -query RunQuery -r "C:\Program Files\Segue\SilkTest\Projects\Sanity\Test Plan\Attachment.pln"

注意:这其中使用了-query参数,query RunQuery需要事先定义。可以使用testplan菜单定义它,打开testplan,Testplan menu>Mark By Query,打开 Mark By Query对话框,输入Query name (RunQuery),在Test attributes 标签下选择必须的选项,点击Mark按钮

 

更多文章,关注我的博客http://zou-hailong.blogspot.com

 

 


TAG: SilkTest 命令行

 

评分:0

我来说两句

我的栏目

日历

« 2024-04-15  
 123456
78910111213
14151617181920
21222324252627
282930    

我的存档

数据统计

  • 访问量: 2339
  • 日志数: 3
  • 建立时间: 2008-09-12
  • 更新时间: 2008-09-16

RSS订阅

Open Toolbar