testcomplete commond line

上一篇 / 下一篇  2013-08-14 15:22:59 / 天气: 阴雨 / 心情: 平静

示例:
title TC 计划启动脚本
::Authorliusujuan@anke.com
::date 8-5-2013
::TCversion 7
REM Clears the screen
CLS
@ECHO off
REM Lauches TestComplete
rem executes the specified project
rem and close testcomplete when the run is over
rem set incro var
set TCEXEDIR="C:\Program Files\Automated QA\TestComplete 7\Bin\TestComplete.exe"
set TCPRODIR="需启动的测试用例"
start /wait "TestComplete" %TCEXEDIR%  %TCPRODIR% /run /project:目标名称 /test:测试条目/exit

IF errorlevel 3 GOTO CannotRun
if errorlevel 2 goto Errors
if errorlevel 1 goto Warnings
if errorlevel 0 goto Success
:CannotRun
ECHO the script. can not be run
goto End
:Errors
echo there are errors
goto End
:Warnings
echo there are warnings
goto End
:Success
echo there are no errors
goto End
:End

TAG: CMD line TASK Testcomplete TestComplete testcomplete cmd task

2014憧憬的个人空间 引用 删除 2014憧憬   /   2016-08-29 11:29:38
1
 

评分:0

我来说两句

日历

« 2024-04-23  
 123456
78910111213
14151617181920
21222324252627
282930    

我的存档

数据统计

  • 访问量: 670
  • 日志数: 1
  • 建立时间: 2013-08-14
  • 更新时间: 2013-08-14

RSS订阅

Open Toolbar