TestComplete命令行执行

最近有人问到在windows计划任务中添加TC命令行调用的问题,其实TC的帮助文档中有一些命令行调用TC的例子可以参考,摘录如下:

 

Examples
Below are several examples of running TestComplete via the command line.

Note: The sample command lines below may split into two or more lines. This is a visual effect that depends on the width of the help viewer’s window. When specifying a command line for TestComplete, type all command-line arguments into the same line.

 

The following command runs TestComplete, loads the specified project suite (MySuite.pjs) and launches test items of the MyProj project:

"C:/Program Files/Automated QA/TestComplete 7/Bin/TestComplete.exe" "C:/My Projects/MySuite.pjs" /r /p:MyProj

 

The following command runs TestComplete, loads the specified project suite (MySuite.pjs), launches all projects that are enabled, waits until the run is over and then closes TestComplete:

"C:/Program Files/Automated QA/TestComplete 7/Bin/TestComplete.exe" "C:/Work/My Projects/MySuite.pjs" /r /e

 

The following command runs TestComplete, loads the specified project suite (MySuite.pjs), and runs the tests associated with the NetworkSuite project item of the MyTest project:

"C:/Program Files/Automated QA/TestComplete 7/Bin/TestComplete.exe" "C:/Work/My Projects/MySuite.pjs" /r /p:MyTest /pi:NetworkSuite

 

The following command runs TestComplete, loads the specified project suite (MySuite.pjs), and launches the Main script routine located in the Unit1 unit of the MyProj project:

"C:/Program Files/Automated QA/TestComplete 7/Bin/TestComplete.exe" "C:/Work/My Projects/MySuite.pjs" /r /p:MyProj /u:Unit1 /rt:Main

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值