各参数的含义请参照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]
如: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按钮
没有评论:
发表评论