Search code examples
testcomplete

command prompt conversion of TC to TE


I want to convert a project built in TestComplete to TestExecute using a .bat command

Due to the project being part of CI process new versions are released daily and conversion needs to occur automatically ;

.bat file for running project :

net use O: /delete
net use O: %1 /persisten:no

echo %PATH%

IF EXIST "C:\Program Files (x86)\SmartBear\TestExecute 12" (
    **I would like to enter conversion of project here**
    "C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe" "O:\Diamond.pjs"
) ELSE (
    echo "test execute 12 not installed" 
)

net use O: /delete

Solution

  • You can force conversion at the same time when running the project:

    "C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe" "O:\Diamond.pjs" /SilentMode /ForceConversion