Hi Lane,
There is no a built-in way to restart the entire project suite from a test. However, I can suggest you running your test from a batch file like the following one:
@echo off
:StartTest
"c:\Program Files\Automated QA\TestComplete 8\Bin\TestComplete.exe" "c:\Users\Public\Documents\TestComplete 8 Samples\Open Applications\C#\TCProject\Orders.pjs" /run /exit
IF EXIST "C:\restartTC.flag" (
DEL "C:\restartTC.flag"
ECHO "Restarting TestComplete test"
GOTO StartTest
)
If you need to restart the entire test execution, create an empty
C:\restartTC.flag file and stop the current execution. The batch file checks whether the C:\restartTC.flag file exists and if does, starts the test again. You can use the
aqFile object to work with files in a TestComplete test. Please find documentation on this object in the
aqFile Object help topic.