Ask a Question

Run TestComplete UI Tests from TFS 2020

New Member

Run TestComplete UI Tests from TFS 2020

I created some UI tests with both TestLeft and TestComplete from SmartBear, using integration into VS to run them as VS test items.

With TFS2015, I did install a VSO agent on a physical server, which started in interactive mode (not as a service) on reboot. My build contained the "Visual Studio Test Agent Deployment" step followed by a "Run Functional Tests" step.

With TFS2018, it's a slightly different VSTS agent, and I want to use the "Visual Studio Test" step. Everything is fine and the tests run as long as I have open desktop connection to the server. However if I reboot the server, and the agent starts on reboot, my tests fail with "Unable to initialize TestComplete" due to the need for an interactive workstation.

So I just can't find a way to run the tests from TFS2018 the way they ran from TFS2015.

Edit: I already tried starting a batch file as Administrator containing

Champion Level 3



Have you read the help topic (last paragraph) ? Didn't it help?


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
SmartBear Alumni (Retired)

Thanks Alex!


Hi @Tabitha , does the documentation article help?

Sonya Mihaljova
Community and Education Specialist

Showing results for 
Search instead for 
Did you mean: