Forum Discussion

lhuang5's avatar
lhuang5
Occasional Contributor
7 years ago

TestExecute cannot start properly in VSTS agent.

Hi, we need to run TestComplete tests on VSTS agent. We have set up the agaent in Interactive mode and try to start TestExeucte in powershell script as below:

 

$TEProcess = Start-Process "$TEpath\TestExecute.exe" -ArgumentList "$TCProjectFullname /timeout 360 /run /SilentMode /DoNotShowLog /ns /exit /ForceConversion" -PassThru
 
However we observed that the TestExecute process cannot start properly. In process tree, the TE process was started and become red immediately and the process was gone/shut down.
 
Is there some specific setting for test running in VSTS agent? Or is there any way/log to check what has stopped TE process to launch.
Thanks & Regards

3 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    The machine running the VSTS agent... is it logged in and unlocked with an available desktop?  If not... no tests will run.  

    • lhuang5's avatar
      lhuang5
      Occasional Contributor

      Thanks for your reply. Yes we have the test machine set up for UI automation test. The screen of test machine is unlocked always. 

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        Maybe something is reported to the <UserName>\AppData\Roaming\SmartBear\TestExecute\12.0\Silent.log file?